ExtrudeFeatureInput set order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In a C++ script (using 2.0.8816), the call order of setting the ExtrudeFeatureInput properties seems critical!?.
Not working:
extrudeInput->startExtent(...FromEntityStartDefinition ...)
extrudeInput->setOneSideExtent(...);
it seems like calling setOneSideExtent subsequently is destroying my 'FromEntity' parameter as set with startExtent.
It only works reverse, in this order:
extrudeInput->setOneSideExtent(...);
extrudeInput->startExtent(...FromEntityStartDefinition ...);
when setting the startExtent last.
I don't see any hints in documentation about this behavior, it only tells about the 'default' (implicit?) startExtent as being the profile-plane.
I used the problematic order because as seen in the app GUI Extrude feature box, the 'Start' field is above the 'Extent' field, which was more intuitive to me.
BTW, some files (ExtrudeFeatureInput.h ; ExtrudeFeature.h ; fusion.py) in the API folder do mention a
ProfilePlaneWithOffsetStartDefinition
in comments, which does not exist (anymore)? please cleanup.
Thanks.