SOLVESPACE -- parametric 2d/3d CAD

(you are viewing a thread; or go back to list of threads)

Line tangent to circle constraint (by Austin Gregg-Smith)
I've just found solvespace and it looks impressive.

I can't work out how to constrain a line to be tangent to a circle. From the documentation this doesn't look like it is supported. Is this the case?

Thu Jun 8 2017, 09:17:08
Use helper construction (by Roland Frank)
Hi Austin.

I would propose using one of these approaches:

1) Use the help of an additional (datum) point
> insert a point in the sketch
> constrain point to be on circle
> constrain point to be on the line

2) Use the help of an additional line
> insert a line in the sketch
> constrain one endpoint to center of circle
> constrain other endpoint to be on circle
> toggle construction mode of this line
> constrain endpoint-of-helper-line-on-circle to be on
(tangent) line
> constrain helper line perpendicular to tangent line
> maybe use an angular constrain on helper line to fully
constrain it ...

Thu Jun 8 2017, 09:56:00
(no subject) (by Eric Buijs)
Hi Roland, I tried them both and had success with the second method.
Fri Jun 9 2017, 05:08:46
(no subject) (by Austin Gregg-Smith)
Thanks, the second method worked.

How difficult would it be to add this functionality to the existing parralell/tangent constraint? I ask because I was considering getting involved in contributing to this project. I have not contributed to open source software before so don't really know how it all works.

Fri Jun 9 2017, 08:43:17
(no subject) (by Alexey Egorov (Evil-Spirit))
Ausitn, this is pretty easy. The main problem is not to break any backward compatibility with the files saved before. Also, you have to create autotests for brand new features, our autotest system is easy for understanding. Also, you should consider code style and other project recomendations, like naming, text messages style, UX (user experience), etc. You can create issue on the main repository and ask any questions you want and there you can show results of your work. For working on project, you should to fork this repository. After this, you can make a pull request, and then we perform some review, and after this it will be merged into project. If you are interested in direct help, you can go irc channel or write me directly (sky_pe:fade_to_evil).
Sun Jun 11 2017, 01:11:07
Post a reply to this comment:
Your Name:
Your Email:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2018 SolveSpace contributors. Most recent update Nov 22 2018.