On Jul 4, 2007, at 12:39 AM, Philo wrote:
> I tried it but at first I saw no mean to bend the tube... till I
> find that double clicking on the end of the tube allowed to bent
> it. Then I tried to add more control points by double-clicking
> elsewhere in the tube, but most of the time except when I'm just on
> (invisible) control point I get a Leocad crash ("read access to
> memory address 0x000030").
The idea is that the control points are visible only when the
piece is selected, so you just need to select a piece and then you
can select the points and move them around. I think what's making
things confusing is that right now you can't tell that the piece is
selected.
I don't want to make double click add new points because double
click is used to select objects, I think I'll have to add a new tool
for adding CPs and use the eraser tool to delete points.
> Something I noticed: if the piece is rotated before moving CPs the
> arrows go in wrong directions.
Good catch, I'll fix it.
> Your scheme is certainly workable, but generally the endpoints and
> their orientation are fixed by mechanical design. If they rotate
> while you modify the center part would not be that convenient (but
> maybe I am biased because I can't freely add CPs in your
> demonstrator).
I've changed it and made it optional to set the orientation of
each CP, it can either be the tangent of the curve or some arbitrary
orientation. It made things much more complicated internally but I
think it's needed anyway and now I can also control the stiffness of
the curve. I'm just not sure if I want it to be a value set for each
point or just 1 for the entire piece.
> BTW, what is the "saturn" icon that appeared in the toolbar?
It's the old rotate camera mode, where the camera rotates around
its target (orbit). I've changed the old rotate mode to make the
target rotate around the camera so it works like looking around with
a first person camera.
>> I still need to add a way of adding/deleting control points but
>> I think most of the functionality is there.
> How do we define a part to be a bendy thing?
I think it will need to be hardcoded for now and maybe I'll think
about a template later, something like have a piece for each end
point and another to fill the center but for now I'm only worried
about getting the editing system working.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad