Message 1 of 7
Profiles disappear from 3D sketch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Whenever I add a new closed loop to a 3D sketch, it creates a profile(as expected), but it also deletes the previous profile. Is this an error!?
Here I add three closed loops using arcs+lines and three circles. As can be seen on screenshot, it is only the very last one of the arc+line that creates a profile, but there is no problem with the circles. My further experiments shows, that there are no problems in the sketch plane.
import adsk.core, adsk.fusion, math app = adsk.core.Application.get() ui = app.userInterface doc = app.documents.add(adsk.core.DocumentTypes.FusionDesignDocumentType) design = app.activeProduct rootComp = design.rootComponent sketch = rootComp.sketches.add(rootComp.xYConstructionPlane) arcs = sketch.sketchCurves.sketchArcs lines = sketch.sketchCurves.sketchLines circles = sketch.sketchCurves.sketchCircles arcs.addByCenterStartSweep(adsk.core.Point3D.create(1, 1, 1), adsk.core.Point3D.create(1-0.5, 1, 1), math.pi) lines.addByTwoPoints(adsk.core.Point3D.create(1-0.5, 1, 1), adsk.core.Point3D.create(1+0.5, 1, 1)) arcs.addByCenterStartSweep(adsk.core.Point3D.create(2, 2, 2), adsk.core.Point3D.create(2-0.5, 2, 2), math.pi) lines.addByTwoPoints(adsk.core.Point3D.create(2-0.5, 2, 2), adsk.core.Point3D.create(2+0.5, 2, 2)) arcs.addByCenterStartSweep(adsk.core.Point3D.create(3, 3, 3), adsk.core.Point3D.create(3-0.5, 3, 3), math.pi) lines.addByTwoPoints(adsk.core.Point3D.create(3-0.5, 3, 3), adsk.core.Point3D.create(3+0.5, 3, 3)) circles.addByCenterRadius(adsk.core.Point3D.create(4, 1, 1), 0.5) circles.addByCenterRadius(adsk.core.Point3D.create(5, 2, 2), 0.5) circles.addByCenterRadius(adsk.core.Point3D.create(6, 3, 3), 0.5)
Profiles