-
Notifications
You must be signed in to change notification settings - Fork 26
How it works or should work
Ania A edited this page Nov 22, 2022
·
22 revisions
- types:
MeshFeature
,BrepFeature
,ParametricFeature
(?) - know their feature geometry and operation
- hold reference to
Part
- store a deepcopy of previous part geometry
- apply themselves (
feature.apply()
), i.e. perform the requested operation. - do not know where they come from
- do they know if already applied?
Each joint type has specific features to apply to the parts, beams etc. For example: trim with a plane, extend length on one side, boolean subtract a notch geometry.
What joint.add_features()
does:
- using
part.add_feature
:- creates joint-specific features
- adds them to
part.features()
list
- adds them to
joint.features()
list - optionally triggers
apply
TODO:
- prevent duplicates of features from the same joint