gsohler / openscad

OpenSCAD - The Programmers Solid 3D CAD Modeller
https://www.openscad.org
Other
14 stars 6 forks source link

Feedback on handles #21

Closed gandrewstone closed 3 months ago

gandrewstone commented 4 months ago

First, they are a great idea and good implementation! However, they really need to be a point vector (a point AND a vector) so that the handle can define both position and orientation. And then we need a mode for your "align" function that equates the handle of one object with the handle of the other. This will allow someone to use handles to reliably connect two object exactly where they are defined to connect, regardless of orientation or position.

gsohler commented 4 months ago

Hi Andrew, This is exactly my idea. The Handles are not coordinates only, but actually a 4x4 eigen matrix. which can store not only the position, but also the 3d direction of the target x, y and z axis in space. (yes, only position is displayed, but they are way more). Did you try to rotate a handle before moving it to the target position ? You can even scale, mirror or skew handles like you can do with solids. aligned_object = master.align(source.handle1, master.handle2)

output(source|aligned_object) implements exactly what you are describing :) let me know if you can recognize it ...

gandrewstone commented 3 months ago

sorry for ghosting this, will try it out soon!

Captayne commented 3 months ago

Sehr geehrter Herr Sohler

 wo bekomme ich denn die Libs her, die in den Beispielen verwendet werden und wie installiert man sie, so dsas OpenScad sie findet? z.B.

from pylibfive import * import pyqrcode

Bei mir gibts da von Hause aus eine Fehlermeldung:

arsing design (AST generation)...

ERROR: Traceback (most recent call last):

File "", line 3, in

ModuleNotFoundError: No module named 'pyqrcode'

Am 14.03.2024 um 20:24 schrieb Sohler Günther:

Closed #21 https://github.com/gsohler/openscad/issues/21 as completed.

— Reply to this email directly, view it on GitHub https://github.com/gsohler/openscad/issues/21#event-12122891713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGIVV2KHBCANA6LFRO6MW3YYH2NPAVCNFSM6AAAAABDP5XQGKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGEZDEOBZGE3TCMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Mit bestem Dank und mit freundlichen Grüßen / with my best regards

Dr.-Ing. Andreas Keibel Matthias-Claudius-Str. 5G 86161 Augsburg, Germany Tel: 0049 178 1967999 Money:www.PayPal.Me/Systragon