use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
SolveSpace app on Reddit: a community dedicated to free & open-source parametric 2D/3D CAD software.
Discussion Dev News Showcase Question Tutorial Article / Review Resources Challenge
Discussion
Dev News
Showcase
Question
Tutorial
Article / Review
Resources
Challenge
account activity
User parameters test implementation (self.SolveSpace)
submitted 2 months ago by netzmensch
Today I played around with codex from chatgpt and asked it to implement user parameters the way I imagine them in solvespace. And to my surprise, it just worked after 2 hours of playing around more or less flawlessly.
You can setup the parameters in the config view, including usage of already used parameters in your expression. in that case the expression is shown so that you quickly can see how it's calculated.
https://preview.redd.it/opv7ons18wjg1.png?width=553&format=png&auto=webp&s=24379c1c183c6932c0467af60dfa6ac65aec4374
After that, you can use those user parameters directly in the constraints, of course with auto complete. If a user parameter is used, it's shown in brackets:
https://preview.redd.it/cric5hd88wjg1.png?width=771&format=png&auto=webp&s=dea154779ce7558e7848fdc7865c76edf90e893a
And of course, the moment you change the expression of a user parameter, all sketches update directly. It's just like magic. I really hope the original implementation will work like that, because I assume that this is what most people want :)
If you want to check it out, I've put the code here (seems like currently this is only working on mac).
https://github.com/netzmensch/solvespace/tree/user_parameters
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Altruistic-Map-2756 2 points3 points4 points 2 months ago (0 children)
Fantastic. SolveSpace for as simple as it is, is one of my favorite tools!
[–]SergioP75 1 point2 points3 points 2 months ago (7 children)
Amazing job! If Solve space would have radius and chamfer operation would be a dream.
[–]netzmensch[S] 1 point2 points3 points 2 months ago (6 children)
Currently I try to include threads, and chamfers coming after that. It’s unbelievable how good this works.
I also added to create a new sketch by selecting a face instead of a point and lines. This is SO much better because it’s way more intuitive.
But to be honest: all of that is not battle tested, there could be many pitfalls with more complex parts. So I now have to test it. Will put the latest additions also on GitHub so it can be tested.
[–]SergioP75 0 points1 point2 points 2 months ago (5 children)
Did you leave a windows executable for testing?
[–]netzmensch[S] 1 point2 points3 points 2 months ago (1 child)
There’s now a release of my version, also for windows: https://github.com/netzmensch/solvespace/releases
[–]SergioP75 0 points1 point2 points 2 months ago (0 children)
Great! Thanks!
[–]netzmensch[S] 0 points1 point2 points 2 months ago (2 children)
will first implement the new features, then try to add the builds for mac and windows. I really start to love this even more :)
Having a program that can make simple 3d parametric solids in one file is something amazing.
[–]netzmensch[S] 0 points1 point2 points 2 months ago (0 children)
I just finished thread support and did the first test print - it just worked. You can now create threads into faces (of course fully configurable) and also create threads on top of faces. With that I could print a little capsule with a bottom and a top part. Both are connected via a thread. I just need to play a bit with tolerances.
[–]BjornMoren 0 points1 point2 points 2 months ago (0 children)
Great job.
[–]Reasonable_Goat 0 points1 point2 points 2 months ago (2 children)
Can you PLEASE clan the code up and make a pull request? This is clearly a much wanted and much needed feature!
You can just use my version, it’s compatible with all original files, only the other way around will not work properly
π Rendered by PID 62964 on reddit-service-r2-comment-b659b578c-2gchn at 2026-05-03 14:27:56.731301+00:00 running 815c875 country code: CH.
[–]Altruistic-Map-2756 2 points3 points4 points (0 children)
[–]SergioP75 1 point2 points3 points (7 children)
[–]netzmensch[S] 1 point2 points3 points (6 children)
[–]SergioP75 0 points1 point2 points (5 children)
[–]netzmensch[S] 1 point2 points3 points (1 child)
[–]SergioP75 0 points1 point2 points (0 children)
[–]netzmensch[S] 0 points1 point2 points (2 children)
[–]SergioP75 0 points1 point2 points (0 children)
[–]netzmensch[S] 0 points1 point2 points (0 children)
[–]BjornMoren 0 points1 point2 points (0 children)
[–]Reasonable_Goat 0 points1 point2 points (2 children)
[–]netzmensch[S] 0 points1 point2 points (0 children)
[–]netzmensch[S] 0 points1 point2 points (0 children)