Restrict Orthogonal Relative to Entity's Angle

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

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
User avatar
dfriasb
Senior Member
Posts: 119
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
[email protected] | davidfriasarquitecto.es

User avatar
andrew
Site Admin
Posts: 9037
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 Programming, Script Programming and Contributing”