Message 1 of 5
Sketching on one sketch for sweeping feature

Not applicable
09-05-2021
03:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
Previously I was able to draw one full path as one sketch using connected lines using this command
sketch_lines = theSketch.sketchCurves.sketchLines.addByTwoPoints(theSketchLine.endSketchPoint, linePoints[iPt])
It was working perfectly fine.
Now the issue is that, in this same sketch there are small lines creating curves, so I planned to re-create the curve by using three points Arc command as seen below
arcStartPoint = theSketchLine.endSketchPoint
arcEndPoint = linePoints[iPt]
areJoiningPoint = linePoints[iPt-1]
sketch_curves = theSketch.sketchCurves.sketchArcs.addByThreePoints(arcStartPoint, areJoiningPoint, arcEndPoint)
The issue is that the arcStartPoint is correct where it start at the endSketchpoint of the line, while the next line doesn't actually start at the end of the sketchpoint of the arc !
I think whats causing the issue is that sketchArcs and sketchLines are different skitches and they are not syncronized ? I don't know, Any ideas ?