-
-
Notifications
You must be signed in to change notification settings - Fork 93
To Do
gumyr edited this page Jan 31, 2023
·
16 revisions
Direct API layer
-
build custom Direct API layer with monkey-patched base class methodsdone -
Add position and rotation properties with setters to Shapedone -
Hide all legacy Location changing methodsthey are too useful and will remain -
add colour property to Shapedone added member of Color class -
add material property to Soliddone added string -
refactor Plane to be based on gp_Plndone
Joints done
-
add a new: doneJoint
class (?) with- Rigid. A rigid joint fixes two components to one another. ...
- Revolute. A revolute joint has a single rotational degree of freedom, much like a hinge. ...
- Slider. A slider joint has a single translational degree of freedom. ...
- Cylindrical. ...
- Pin Slot. ...
- Planar. ...
- Ball.
-
add a list ofdone, added to Solid and Compoundjoints
to Shape
Assembly
-
try to follow the OCCT Assemblydone uses Compound -
sub-class of Compounddone Compound is the assembly and other Shapes are children -
use anytree (https://anytree.readthedocs.io/en/2.8.0/index.html) to implement the tree structuredone -
theHShape isn't appropriate seeadd()
method looks to see if an instance of the object is already in the Assembly and if so creates a new HShape with a link to the original object to save on storagemake_instance
below - change (how?) cq-editor to accept AIS_ColoredShape or TDocStd_Document directly enable display of coloured objects
- add a new Assembly "solver" that converts joints into constraints then calls the existing solver
-
add a newdone although copy.copy() does this as a shallow copy.Shape.make_instance
method that creates a copy of the Shape but replaces the TShape with a pointer to self's TShape.
Documentation
- get live 3d documentation going
- add new user documentation
-
add cheatsheetdone
Misc Features
add logging- add try blocks to intercept OpenCascade exceptions
- add BuildSurface
-
verify that extrude linear works with non-planar facesTrue - add a function/operator that creates "hull" points - i.e. points of interest when two or more objects are hulled together (2D only). These points are able to be used for line building
-
add an extrude to face function that extrudes one face at a time (there seems to be a bug in OCCT with multiple simultaneous faces) - project then loft?Done