-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can we have "interactive parameters" like parametricparts.com? #19
Comments
Hi, stansu: We talked about this quite a bit-- and in fact it was a huge discussion The question is: what's the best way to support parameters? We've found a (1) a script in the CQ-freecad-plugin would work when cut-and-pasted (2) scripts can use variables directly, like circle(fooDiameter) instead of (3) it should be possible to create scripts without parameters. some users (4) parameter validation can reference other parameter values and use (5) scripts are simple. today's PP format requires that a build() method Do you have any thoughts on these ? On Mon, Dec 8, 2014 at 9:18 PM, stansu notifications@github.com wrote:
|
Can you give me your discussion's link? I think it is better to give you advise before knowing what you been discussed. I want "interactive parameter" like those on parametricpart.com, is because sometimes I want to "interactive debug" my script. By tuning parameters, I can see my script visually progress. It helps me to learning cadquery. Thanks for your reply. |
Actually I think those discussions were all pms with Jeremy not online.... Most of the discussions were around the topics I summarized. What do you think a good script format would be?
|
i see. (1) do you mean a plugin can automatic convert script to PP script? (2) i like this. (3) i like this too. (4) i have try some parameter relation on http://parametricparts.com/parts/rvj87x56/ (5) maybe like freecad script objects? and finally, i think a good script format is as freedom as possible. in order to reuse many python script out there. those is my humble opinions, :) |
Actually we were thinking that a script in cadquery IS a valid PP script I really don't like freecad script objects. I found them too complex given
|
@jmwright thanks! |
I have found a couple of situations where it would be very helpful for me personally to have interactive parameters like this, especially booleans that could be toggled with shortcut keys. The following are the two scenarios I currently have on my mind.
|
yeah, i agree that both are useful. Solidworks and Pro/E call the second type a "configuration"-- its the same In Solidworks, you can actually attach an excel spreadsheet to a part, and On Thu, Jan 8, 2015 at 11:21 AM, Jeremy Wright notifications@github.com
|
Added the example for using FreeCAD and CQ objects interchangably.
Parameters: (Optional) Defines parameters and their default values, which can be manipulated by users to customize the object. Parameters are defined by creating local variables of a particular class type. Presets and groups organize parameters to make them easier to use
http://parametricparts.com/docs/fileformat.html
The text was updated successfully, but these errors were encountered: