Trying to Use "Move Origin" within the Parametric Curve Feature
Hello everyone
Sorry if this has been asked before, I couldn't find anything.
I'm trying to use the Parametric Curve Feature Script and would like the include the "Move Origin" function there. Unfortunately though, as soon as I click that button I get an "Error regenerating".
Can this be solved or do I have to find a work-around?
Thanks in advance!
Answers
-
0
-
Not sure what copy/version of the Parametric Curve you are using, but the one I just checked seems to have an error on lines 174, 175, 176 whereby the unitless
tX,tYandtZare being added to the offset value with is a number with units. You can't do this. In a quick test I verified that by changing those lines to:tX += definition.xOffset / meter;tY += definition.yOffset / meter;tZ += definition.zOffset / meter;…then it works fine.
If you want to make a copy of the custom feature and make that edit yourself, then you should be able to get up and running!
(Here's my own fork of the code with the fix applied)
0



