USER FORUM
(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?
Thanks,
Austin
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?
Thanks,
Austin
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 ...
Roland
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 ...
Roland
(no subject) (by Eric Buijs)
Hi Roland, I tried them both and had success with the second method.
(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.
Thanks
Austin
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.
Thanks
Austin
(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 https://github.com/solvespace/solvespace 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).
Post a reply to this comment: