Restrict Orthogonal Relative to Entity's Angle

Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Post Reply
User avatar
dfriasb
Full Member
Posts: 90
Joined: Thu Mar 10, 2016 1:08 pm
Location: Calafell, Tarragona, Spain

Restrict Orthogonal Relative to Entity's Angle

Post by dfriasb » Sun Mar 10, 2019 9:11 am

Hello all,
I think it's not possible right now restrict orthogonal in angles different to X,Y axis. I was trying to create a script that restricts orthogonal but relative to one particular selected entity. I'm working on:
RestrictOrthogonal.js
RestrictOrthogonalInit.js
RRestrictOrthogonal.cpp
RRestrictOrthogonal.h
Any suggestion about that? Do you think it is difficult to manage? Thanks!
David Frías Barranco | architect
dfriasb@gmail.com | davidfriasarquitecto.es

User avatar
andrew
Site Admin
Posts: 6291
Joined: Fri Mar 30, 2007 6:07 am

Re: Restrict Orthogonal Relative to Entity's Angle

Post by andrew » Mon Mar 11, 2019 5:37 pm

You'd have to allow the user to pick an entity when the restriction tool is started, then base the restriction on that entity. Also, there'd probably have to be a way to change that base entity somehow and choose a new one...

Post Reply

Return to “QCAD Developers and Contributors”