Login  Register

Re: Add entities beeing created to main container...

Posted by dxli on Mar 07, 2012; 6:18pm
URL: https://forum.librecad.org/Add-entities-beeing-created-to-main-container-tp5539557p5545058.html

Hi Rallaz,

sounds like I misunderstood this feature.

so snap perpendicular is the projected point of relative zero on the nearest entity.

if so, it's straight forward to implement it.

i still want to see some examples first.

thanks,

dongxu

On Mar 7, 2012 11:23 AM, "Rallaz [via LibreCAD]" <[hidden email]> wrote:
It may be a nonsense but...

A snapPerpendicular is a point from "relative zero" to entity in mouse.

line by 2 points case with a snapPerpendicular activated
click the first point, the relative zero are moved to the clicked point,
click the second point, RS_Snapper::snapPoint is called
snapPoint gets the "relative zero" coordinate and calculate the
perpendicular point in the entity over the mouse


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Add-entities-beeing-created-to-main-container-tp5539557p5544633.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML