Skip to content
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

Add more tweaks to CQ customizer #3

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

Irev-Dev
Copy link
Collaborator

Main tweaks here are how the incoming params are pressed in the browser, and that all seems to be working

image

Though I seeming the have trouble with the variables themselves, as in no matter how I change the variable values, either in the script or the customizer the model doesn't change

I also noticed that if I specify a parameter that doesn't exist in the script than it throws with cadquery.cqgi.InvalidParameterError: Cannot set value 'aString': not a parameter of the model. this seems like a problem to me as this will happen when ever the user comments out a variable as the customizer UI wont update to remove that variable until after the next render. I think it would be better if extra params are just ignored, that's how they're handled in JSCAD and OpenSCAD.

Copy link
Owner

@jmwright jmwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Irev-Dev

@jmwright jmwright merged commit 624868b into main Oct 11, 2021
@Irev-Dev Irev-Dev deleted the kurt/final-cq-customizer-tweaks branch October 14, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants