Search found 4 matches
- Tue Jan 09, 2018 8:22 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Detection transaction operation
- Replies: 1
- Views: 5955
Detection transaction operation
Hi, I'm using transaction listener for change detection : TransactionListener.init = function (basePath) { var adapter = new RTransactionListenerAdapter(); var appWin = EAction.getMainWindow(); appWin.addTransactionListener(adapter); adapter.transactionUpdated.connect(function (document, transaction...
- Tue Jan 09, 2018 2:58 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Fusion of shapes
- Replies: 5
- Views: 7379
Re: Fusion of shapes
You have absolutely right, I missed with orientation as you mentioned, now I get the exact expect results.
Thanks a lot !
Thanks a lot !
- Tue Jan 09, 2018 1:34 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Fusion of shapes
- Replies: 5
- Views: 7379
Re: Fusion of shapes
Hi andrew, Thanks for your response, Yes I'm looking for a programmatic way and just for polygon shapes (with straight segments). I tested your code with QCAD Professional and it works, But when I test with other shapes : var clipper = new RPolygonClipper(); clipper.addSubjectPath([new RVector(0,0),...
- Mon Jan 08, 2018 7:05 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Fusion of shapes
- Replies: 5
- Views: 7379
Fusion of shapes
Hi,
Please, could you tell me if there is a way to construct a shape base on fusion of other shapes like the piture attached :
newShape = fusion([Shape1, Shape2, Shape3]);
Many thanks!
Caramel
Please, could you tell me if there is a way to construct a shape base on fusion of other shapes like the piture attached :
newShape = fusion([Shape1, Shape2, Shape3]);
Many thanks!
Caramel