Module kittycad_modeling_cmds::each_cmd
source · Expand description
Definition of each modeling command.
Structs§
- Camera drag ended
- Camera drag continued.
- Camera drag started.
- Get the center of mass of entities in the scene or the default scene.
- Closes a path, converting it to a 2D solid.
- Get control points of the given curve.
- Find the start and end of a curve.
- Get type of the given curve.
- Get the plane for sketch mode.
- Focus the default camera upon an object in the scene.
- Gets the default camera’s camera settings
- Change what the default camera is looking at.
- Change what the default camera is looking at.
- Use orthographic projection.
- Use perspective projection.
- Adjust zoom of the default camera.
- Get the density of entities in the scene or the default scene.
- Changes visibility of scene-wide edge lines on brep solids
- Enter edit mode
- Exit edit mode
- Sketch on some entity (e.g. a plane, a face).
- Create a circular pattern using this entity.
- Fade entity in or out.
- What are all UUIDs of this entity’s children?
- What is the UUID of this entity’s n-th child?
- What is the distance between these two entities?
- How many children does the entity have?
- What is this entity’s parent?
- Create a linear pattern using this entity.
- Create a helix using the input cylinder and other specified parameters.
- Mirror the input entities over the specified axis. (Currently only supports sketches)
- Set opacity of the entity.
- Export the scene to a file.
- Extend a path by adding a new segment which starts at the path’s “pen”. If no “pen” location has been set before (via
MovePen
), then the pen is at the origin. - Command for extruding a solid 2d.
- Determines the gradient (dFdu, dFdv) + normal vector on a brep face evaluated by parameters u,v
- Determines a position on a brep face evaluated by parameters u,v
- Determines whether a brep face is planar and returns its surface-local planar axes if so
- What type of entity is this?
- Get the number of objects in the scene
- Get the plane for sketch mode.
- Stop dragging the mouse.
- Continue dragging the mouse.
- Start dragging the mouse.
- Changes the current highlighted entity to these entities.
- Changes the current highlighted entity to whichever one is at the given window coordinate. If there’s no entity at this location, clears the highlight.
- Import files to the current model.
- Add a gizmo showing the axes.
- Make a new plane
- Get the mass of entities in the scene or the default scene.
- Send a mouse click event Updates modified/selected entities.
- Send a mouse move event
- Move the path’s “pen”.
- Create a new annotation
- Bring an object to the front of the scene
- Set the material properties of an object
- Hide or show an object
- Obtain curve ids for vertex ids
- Query the given path.
- Obtain vertex ids for a path
- Utility method. Performs both a ray cast and projection to plane-local coordinates. Returns the plane coordinates for the given window coordinates.
- Set the color of a plane.
- Reconfigure the stream.
- Remove scene objects.
- Command for revolving a solid 2d.
- Command for revolving a solid 2d about a brep edge
- Removes all of the Objects in the scene
- Adds one or more entities (by UUID) to the selection.
- Clear the selection
- Find all IDs of selected entities
- Removes one or more entities (by UUID) from the selection.
- Replaces current selection with these entities (by UUID).
- Modifies the selection by simulating a “mouse click” at the given x,y window coordinate Returns ID of whatever was selected.
- Send object to front or back.
- Set the background color of the scene.
- Set the properties of the tool lines for the scene.
- Set the default system properties used when a specific property isn’t set.
- Set the units of the scene. For all following commands, the units will be interpreted as the given units.
- What kind of entities can be selected?
- When you select some entity with the current tool, what should happen to the entity?
- Set the current tool.
- Disable sketch mode. If you are sketching on a face, be sure to not disable sketch mode until you have extruded. Otherwise, your object will not be fused with the face.
- Add a hole to a Solid2d object before extruding it.
- Fillets the given edge with the specified radius.
- Gets all faces which use the given edge.
- Gets all edges which are opposite the given edge, across all possible faces.
- Get a concise description of all of an extrusion’s faces.
- Gets the next adjacent edge for the given edge, along the given face.
- Gets the edge opposite the given edge, along the given face.
- Gets the previous adjacent edge for the given edge, along the given face.
- Start a new path.
- Get the surface area of entities in the scene or the default scene.
- Take a snapshot of the current view.
- Update an annotation
- Fit the view to the scene with an isometric view.
- Get the volume of entities in the scene or the default scene.
- Fit the view to the specified object(s).
Enums§
- Enum containing the variety of image formats snapshots may be exported to.