Search found 424 matches

by CVH
Thu Jan 09, 2020 12:20 pm
Forum: Pre-sales Questions
Topic: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"
Replies: 17
Views: 943

Re: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"

5 Arc's include('scripts\ShapeAlgorithms.js') var doc = getDocument(); var di = getDocumentInterface(); var operation = new RAddObjectsOperation(); operation.setText("Adding some Arc3P"); var point1 = new RVector(50,50); var point3 = new RVector(100,50); var point2, shape; for (var k=0; k<5; k++) { ...
by CVH
Thu Jan 09, 2020 11:43 am
Forum: Pre-sales Questions
Topic: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"
Replies: 17
Views: 943

Re: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"

hi, Still in the Pre-Sales section?? Sure it fails. So far I know 'ShapeAlgorithms.createArcFrom3Points' takes 2-3 RVectors as input. It has no means to break an 'obj' or whatever down into bits. What I see is that you are trying to use Arc3P.js and preset the users clicked points and other stuff. B...
by CVH
Wed Jan 08, 2020 9:56 pm
Forum: Pre-sales Questions
Topic: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"
Replies: 17
Views: 943

Re: Criar linhas ou arcos via ecmascrits, sem o uso do "simple.js"

I would call that as: var newArc = ShapeAlgorithms.createArcFrom3Points( RVector1, RVector2, RVector3); a function in ShapeAlgorithms.js That returns an Rarc one still has to parse to the document in any way. Arc3P.js is the method that runs if we use: Menu/Draw/Arc/3 points (A3) and then start poin...
by CVH
Wed Jan 08, 2020 5:19 pm
Forum: QCAD Troubleshooting and Problems
Topic: Ellipse Arc Approx by spline flaws
Replies: 2
Views: 213

Re: Ellipse Arc Approx by spline flaws

Good thing I came up with an alternative....

Regards,
CVH
by CVH
Wed Jan 08, 2020 2:16 pm
Forum: Chat
Topic: Votes Please DXF Tile Option added to the Hatch Command
Replies: 9
Views: 441

Re: Votes Please DXF Tile Option added to the Hatch Command

Hi, all, John stumbled on the limitation that hatches are merely line segments. AC 'SuperHatch' behave more like the old style hatching. :) This is not the first inquiry about that and I expect more to come. For me many small segments poses no problem. 8) I can tune my CNC driver to go steady fast a...
by CVH
Tue Jan 07, 2020 7:48 pm
Forum: QCAD 'How Do I' Questions
Topic: How to stop zooming run away?
Replies: 1
Views: 109

Re: How to stop zooming run away?

Maybe solved by searching for "mouse" :oops:
viewtopic.php?f=32&t=6317&p=23881&hilit=mouse#p23881

Cheers,
CVH
by CVH
Mon Jan 06, 2020 8:42 pm
Forum: Chat
Topic: Solids & faces & test protos
Replies: 5
Views: 311

Re: Solids & faces & test protos

andrew wrote:
Mon Jan 06, 2020 11:26 am
Note that the vertex order is somewhat unintuitive (as per DXF spec):
Yes, allready noted, the vertex 2 - 3 swapping.
And by that there is a midpoint reference for quadrilateral solids.
Somethimes they where clever in those days. :wink:

Regards,
CVH
by CVH
Mon Jan 06, 2020 8:08 pm
Forum: Chat
Topic: Solids & faces & test protos
Replies: 5
Views: 311

Re: Solids & faces & test protos

Ha... A "solid" is filled, a "face" isn't filled and the vertex order is different. Good thing you mentioned this, saw a remark deeper in the code about that. Cheked mine decoction: A: The face section was an excact copy of the solid section. No in Explode.js it isn't, my bad :oops: must have paste ...
by CVH
Mon Jan 06, 2020 2:22 pm
Forum: Chat
Topic: Solids & faces & test protos
Replies: 5
Views: 311

Re: Solids & faces & test protos

Thanks Andrew, All my best for this and the years to come to you and yours. 'Interpolating' Solids and Faces went fine. Used the Qcad Explode,js as a guide. :wink: I was just wondering: :? A: The face section was an excact copy of the solid section. :oops: Edit: Noop it isn't B: I knew only about 3 ...
by CVH
Sat Jan 04, 2020 11:08 pm
Forum: QCAD Developers and Contributors
Topic: Modify polyline
Replies: 3
Views: 109

Re: Modify polyline

RR88 wrote:
Sat Jan 04, 2020 10:50 pm
I'm not a novice!!!!
sorry, I meant: I am still...

CVH
by CVH
Sat Jan 04, 2020 10:10 pm
Forum: QCAD Developers and Contributors
Topic: Modify polyline
Replies: 3
Views: 109

Re: Modify polyline

Hi, Really, you know its entity 12? :wink: What I see you do, is picking the first polyline segment and alter its startpoint. Then you have a separated clone of the segment of the RLine type or RArc type. Where you altered the startpoint from. IMHO this is no ModifyObjectsOperation. :oops: For that ...
by CVH
Sat Jan 04, 2020 2:14 pm
Forum: QCAD Troubleshooting and Problems
Topic: Leader arrow vanishing
Replies: 10
Views: 313

Re: Leader arrow vanishing

Questions: 1. ... 2. What for is this scaled Leader exercise good? If you really want to know: The Tile2Hatch addon interpolates all selected within a Tile to bare line-segment, Dots or Xlines. Something we generally do by repeated explosions apart from that Arcs get interpolated too. For that I am...
by CVH
Sat Jan 04, 2020 1:02 pm
Forum: QCAD Troubleshooting and Problems
Topic: Leader arrow vanishing
Replies: 10
Views: 313

Re: Leader arrow vanishing

Husky, Your example is if a scaled arrow won't fit twice. That we can call intended behaviour. Mine was if the scaled arrow will fit but not if the scale factor would be 1. Apart from that it isnt 1. Fiddling arround it get more strager. You can not set an arrow if the scale is too large. (I see Qca...
by CVH
Sat Jan 04, 2020 10:33 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Help with Round operation
Replies: 12
Views: 687

Re: Help with Round operation

This might help.
Round2Bulge.dxf
(107.12 KiB) Downloaded 8 times
Regards,
CVH
by CVH
Fri Jan 03, 2020 10:46 pm
Forum: QCAD Troubleshooting and Problems
Topic: Leader arrow vanishing
Replies: 10
Views: 313

Re: Leader arrow vanishing

Every dimension type has this scale factor. Just using it. Another use would be several text size in dims on one drawing... What happens is that the arrow flag is killed while saving to dxf. And this if an arrow with scale 1 doesn't fit the first leader leg. But a scaled arrow would fit... SOIT, lik...

Go to advanced search