Generated from FusionSparse metadata and compact reference rules.
- Raw Autodesk mapping:
adsk.core.Application.get - Implementation:
fusion_sparse.compact.app.app - Arguments:
none - Example:
app = fs.app()- Escape hatch: Returns a wrapped Autodesk Application. Use
.rawfor the original object.
- Raw Autodesk mapping:
adsk.core.Application.userInterface - Implementation:
fusion_sparse.compact.app.ui - Arguments:
none - Example:
ui = fs.ui()- Escape hatch: Returns a wrapped Autodesk UserInterface. Use
.rawfor the original object.
- Raw Autodesk mapping:
adsk.core.Application active context - Implementation:
fusion_sparse.compact.app.ctx - Arguments:
strict=True - Example:
context = fs.ctx()
root = context.root- Escape hatch: The fields on the returned context are wrapped Autodesk objects; each field supports
.raw.
- Raw Autodesk mapping:
adsk.core.Documents.add(FusionDesignDocumentType) - Implementation:
fusion_sparse.compact.app.new_design - Arguments:
visible=True,options=None - Example:
design = fs.new_design()- Escape hatch: Returns a wrapped Design. Use
.rawto drop to Autodesk APIs directly.
- Raw Autodesk mapping:
adsk.core.Application.activeProduct or adsk.core.Documents.add(FusionDesignDocumentType) - Implementation:
fusion_sparse.compact.app.new_or_active_design - Arguments:
none - Example:
design = fs.new_or_active_design()- Escape hatch: Returns a wrapped Design. Use
.rawto drop to Autodesk APIs directly.
- Raw Autodesk mapping:
adsk.core.Point3D.create - Implementation:
fusion_sparse.runtime.geom.p - Arguments:
x,y=None,z=0 - Example:
center = fs.p(0, 0, 0)- Escape hatch: Pass an Autodesk Point3D directly to keep it unchanged.
- Raw Autodesk mapping:
adsk.core.Vector3D.create - Implementation:
fusion_sparse.runtime.geom.vec - Arguments:
x,y=None,z=0 - Example:
axis = fs.vec(0, 0, 1)- Escape hatch: Pass an Autodesk Vector3D directly to keep it unchanged.
- Raw Autodesk mapping:
adsk.core.ObjectCollection.create - Implementation:
fusion_sparse.runtime.geom.oc - Arguments:
*items - Example:
bodies = fs.oc(body_a, body_b)- Escape hatch: Wrapped FusionSparse refs are unwrapped automatically when inserted.
- Raw Autodesk mapping:
adsk.core.ValueInput.createByString via fs.v - Implementation:
fusion_sparse.runtime.values.u - Arguments:
none - Example:
depth = fs.u.mm(10)- Escape hatch:
uonly builds expressions; callv(...)to create a ValueInput.
- Raw Autodesk mapping:
adsk.core.ValueInput.createByString/createByReal/createByBoolean/createByObject - Implementation:
fusion_sparse.runtime.values.v - Arguments:
value - Example:
depth = fs.v("10 mm")- Escape hatch: Existing Autodesk ValueInput objects pass through unchanged.
- Raw Autodesk mapping:
adsk.fusion.FeatureOperations - Implementation:
fusion_sparse.runtime.enums.op - Arguments:
none - Example:
operation = fs.op.new_body- Escape hatch: Use the Autodesk enum directly if you need a member that does not have a compact alias.
- Raw Autodesk mapping:
adsk.fusion.ExtentDirections - Implementation:
fusion_sparse.runtime.enums.dir - Arguments:
none - Example:
direction = fs.dir.symmetric- Escape hatch: Use the Autodesk enum directly if you need a member that does not have a compact alias.
- Raw Autodesk mapping:
adsk.fusion.Design.rootComponent - Arguments:
none - Example:
root = fs.new_design().root- Escape hatch: The returned Component wrapper exposes
.rawfor the Autodesk Component.
- Raw Autodesk mapping:
adsk.fusion.Sketches.add - Arguments:
plane - Example:
sk = root.sketch("xy")- Escape hatch: Pass a raw construction plane or planar face instead of an alias to bypass plane lookup.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatures.addSimple or createInput + add - Arguments:
profile,distance=None,op="new_body" - Example:
ext = root.extrude(sk.profile(), "10 mm")- Escape hatch: Use
root.raw.features.extrudeFeaturesfor direct Autodesk feature creation.
- Raw Autodesk mapping:
adsk.fusion.SketchLines.addByTwoPoints - Arguments:
a,b - Example:
sk.line((0, 0), (5, 0))- Escape hatch: Points are passed through unchanged if they are already Autodesk sketch points or Point3D values.
- Raw Autodesk mapping:
adsk.fusion.SketchPoints.add - Arguments:
at - Example:
pt = sk.point((5, 4))- Escape hatch: Pass a raw Autodesk Point3D or SketchPoint directly to bypass coordinate coercion.
- Raw Autodesk mapping:
adsk.fusion.SketchCircles.addByCenterRadius - Arguments:
center,r - Example:
sk.circle((0, 0), "20 mm")- Escape hatch: Radius strings are parsed into Fusion internal length units; pass a numeric radius directly to skip parsing.
- Raw Autodesk mapping:
adsk.fusion.SketchArcs.addByCenterStartSweep - Arguments:
center,start,sweep - Example:
sk.arc((0, 0), (5, 0), "90 deg")- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchArcs.addByThreePoints - Arguments:
a,b,c - Example:
sk.arc3p((-10, 0), (-5, 3), (0, 0))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchEllipses.add - Arguments:
center,major,through - Example:
sk.ellipse((0, 0), (10, 0), (5, 4))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchFittedSplines.add - Arguments:
*fit_points - Example:
sk.spline((0, 0), (5, 1), (7, 6), (0, 1))- Escape hatch: Pass an Autodesk ObjectCollection or any iterable of point-like values.
- Raw Autodesk mapping:
adsk.fusion.SketchLines.addTwoPointRectangle - Arguments:
a,b - Example:
sk.rect((0, 0), (10, 5))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchLines.addCenterPointRectangle - Arguments:
center,corner - Example:
sk.rect_center((5, 5), (25, 25))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchLines.addThreePointRectangle - Arguments:
a,b,c - Example:
sk.rect3p((0, 0), (5, 15), (-5, -6))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchCircles.addByTwoPoints - Arguments:
a,b - Example:
sk.circle2p((1, 1), (8, 8))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchCircles.addByThreePoints - Arguments:
a,b,c - Example:
sk.circle3p((0, 0), (5, 5), (9, 14))- Escape hatch: Pass Autodesk points directly if you already have them.
- Raw Autodesk mapping:
adsk.fusion.SketchTexts.createInput2 + SketchTextInput.setAsMultiLine + SketchTexts.add - Arguments:
text,corner,diagonal,height - Example:
sk.text("Autodesk", (0, 0), (10, 5), 0.5)- Escape hatch: Use
sk.raw.sketchTextsdirectly for advanced text-input options not exposed compactly.
- Raw Autodesk mapping:
adsk.fusion.SketchTexts.createInput2 + SketchTextInput.setAsAlongPath + SketchTexts.add - Arguments:
text,path,height - Example:
sk.text_path("Autodesk", arc, 0.5)- Escape hatch: Use
sk.raw.sketchTextsdirectly for advanced text-input options not exposed compactly.
- Raw Autodesk mapping:
adsk.fusion.SketchTexts.createInput2 + SketchTextInput.setAsFitOnPath + SketchTexts.add - Arguments:
text,path,height - Example:
sk.text_fit("Autodesk", arc, 0.5)- Escape hatch: Use
sk.raw.sketchTextsdirectly for advanced text-input options not exposed compactly.
- Raw Autodesk mapping:
adsk.fusion.Sketch.profiles.item - Arguments:
i=0 - Example:
profile = sk.profile()- Escape hatch: Use
sk.raw.profilesfor direct access to the Autodesk Profiles collection.
- Raw Autodesk mapping:
adsk.fusion.Sketch.profiles - Arguments:
none - Example:
profiles = sk.profiles()- Escape hatch: Use
sk.raw.profilesfor direct access to the Autodesk Profiles collection.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatureInput.setOneSideExtent - Arguments:
distance,direction="positive" - Example:
ext = root.extrude(sk.profile()).one_side("5 mm")- Escape hatch: Use
builder.rawto call Autodesk extent setters directly.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatureInput.setSymmetricExtent - Arguments:
distance - Example:
ext = root.extrude(sk.profile()).symmetric("10 mm")- Escape hatch: Use
builder.rawto call Autodesk extent setters directly.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatureInput.isSolid - Arguments:
flag=True - Example:
ext = root.extrude(sk.profile()).solid()- Escape hatch: Use
builder.raw.isSolidfor direct Autodesk access.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatureInput.isSolid = False - Arguments:
none - Example:
ext = root.extrude(sk.profile()).surface()- Escape hatch: Use
builder.raw.isSolidfor direct Autodesk access.
- Raw Autodesk mapping:
taper angle argument on Autodesk extent setters - Arguments:
angle - Example:
ext = root.extrude(sk.profile()).one_side("5 mm").taper("2 deg")- Escape hatch: Use
builder.rawand Autodesk extent setters directly for advanced taper control.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatureInput.participantBodies - Arguments:
*bodies - Example:
ext = root.extrude(sk.profile()).participant_bodies(body)- Escape hatch: Use
builder.raw.participantBodiesfor direct Autodesk access.
- Raw Autodesk mapping:
adsk.fusion.ExtrudeFeatures.add - Arguments:
none - Example:
ext = root.extrude(sk.profile()).one_side("5 mm").build()- Escape hatch: Call
builder.rawwith Autodesk feature collections directly if you need unsupported setup.
- Raw Autodesk mapping:
adsk.fusion.RevolveFeatures.createInput + setAngleExtent + add - Arguments:
profile,axis,angle=None,op="new_body" - Example:
rev = root.revolve(sk.profile(), axis, "180 deg")- Escape hatch: Use
root.raw.features.revolveFeaturesfor direct Autodesk revolve configuration.
- Raw Autodesk mapping:
adsk.fusion.Features.createPath + adsk.fusion.SweepFeatures.createInput + add - Arguments:
profile,path,op="new_body",guide=None,taper=None,twist=None,scale=None,flip=False - Example:
swp = root.sweep(sk.profile(), path, taper="5 deg", twist="10 deg")- Escape hatch: Use
root.raw.features.sweepFeaturesand raw Path objects for unsupported sweep options.
- Raw Autodesk mapping:
adsk.fusion.LoftFeatures.createInput + LoftSections.add + add - Arguments:
*sections,op="new_body",solid=False,closed=False,merge_tangent_edges=True,start_alignment="free",end_alignment="free",rails=None - Example:
loft = root.loft(profile0, profile1, profile2)- Escape hatch: Use
root.raw.features.loftFeatureswhen you need unsupported section or rail behavior.
- Raw Autodesk mapping:
adsk.fusion.PatchFeatures.createInput + add - Arguments:
boundary,op="new_body" - Example:
patch = root.patch(boundary_edge)- Escape hatch: Use
root.raw.features.patchFeaturesfor direct Autodesk patch setup.
- Raw Autodesk mapping:
adsk.fusion.ShellFeatures.createInput + add - Arguments:
entities,inside=None,outside=None,tangent_chain=True,shell_type="sharp" - Example:
shell = root.shell(face, inside=0.5, tangent_chain=False)- Escape hatch: Use
root.raw.features.shellFeaturesfor Autodesk shell options not exposed compactly.
- Raw Autodesk mapping:
adsk.fusion.DraftFeatures.createInput + setSingleAngle + add - Arguments:
faces,plane,angle,tangent_chain=True,symmetric=True,flip=False - Example:
draft = root.draft([side_face], neutral_face, "10 deg")- Escape hatch: Use
root.raw.features.draftFeaturesfor Autodesk draft setups beyond the single-angle path.
- Raw Autodesk mapping:
adsk.fusion.MoveFeatures.createInput2 + defineAsFreeMove + add - Arguments:
entities,translation=None,transform=None - Example:
moved = root.move(body, translation=(2, 1, 0))- Escape hatch: Pass a raw
Matrix3Dastransform=to bypass the compact translation helper.
- Raw Autodesk mapping:
adsk.fusion.OffsetFeatures.createInput + add - Arguments:
entities,distance,op="new_body",chain=True - Example:
offset = root.offset(face, "2 mm")- Escape hatch: Use
root.raw.features.offsetFeaturesif you need Autodesk-only offset options.
- Raw Autodesk mapping:
adsk.fusion.ReplaceFaceFeatures.createInput + add - Arguments:
source_faces,target,tangent_chain=False - Example:
replaced = root.replace_face(end_face, offset_plane)- Escape hatch: Use
root.raw.features.replaceFaceFeaturesfor Autodesk replace-face options not surfaced compactly.
- Raw Autodesk mapping:
adsk.fusion.ScaleFeatures.createInput + setToNonUniform + add - Arguments:
entities,origin,factor,xyz=None - Example:
scaled = root.scale(body, (0, 0, 0), 1, xyz=(1.5, 0.75, 0.5))- Escape hatch: Pass a raw Autodesk point for
originor useroot.raw.features.scaleFeaturesfor advanced scaling behavior.
- Raw Autodesk mapping:
adsk.fusion.SplitBodyFeatures.createInput + add - Arguments:
bodies,tool,extend=True - Example:
split = root.split_body(body, "xz")- Escape hatch: Use
root.raw.features.splitBodyFeaturesfor Autodesk split-body control beyond the direct helper.
- Raw Autodesk mapping:
adsk.fusion.ThreadFeatures.threadDataQuery + ThreadInfo.create + createInput + add - Arguments:
faces,internal=False,length=None,thread_type=None,designation=None,thread_class=None - Example:
thread = root.thread(side_face, length=2.5)- Escape hatch: Use
root.raw.features.threadFeaturesif you need to manage Autodesk thread-query data directly.
- Raw Autodesk mapping:
adsk.fusion.TrimFeatures.createInput + TrimFeatureInput.bRepCells + add - Arguments:
tool,cell=0 - Example:
trimmed = root.trim(surface_body)- Escape hatch: Use
root.raw.features.trimFeaturesif you need to inspect or select Autodesk trim cells manually.