Search found 1434 matches

by CVH
Sat Jul 31, 2021 5:37 am
Forum: QCAD Community Edition
Topic: How to combine selected points to one averaged point?
Replies: 3
Views: 135

Re: How to combine selected points to one averaged point?

A rather simplistic script for average and mean position ... It displays the results textual in the Command History and adds both points to the document. Please: include("scripts/simple.js"); var doc = this.getDocument(); var xValues = []; var yValues = []; var zValues = []; var ids = doc.querySelec...
by CVH
Sat Jul 31, 2021 2:30 am
Forum: QCAD Community Edition
Topic: How to combine selected points to one averaged point?
Replies: 3
Views: 135

Re: How to combine selected points to one averaged point?

Hi, remark here that QCAD/CAM is 2D native and only handles z components up to a point. There a many strategies for that. In 2D simply the center of the best fitted circle ... One could take the mean of the first coordinates and the mean of the second coordinates. or one could take the mean of the m...
by CVH
Fri Jul 30, 2021 9:26 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Dwg Import Library
Replies: 3
Views: 164

Re: Dwg Import Library

Hi,
I think you may want to include in what dwg version that those drawings are ... :wink:

Regards,
CVH
by CVH
Thu Jul 29, 2021 8:25 pm
Forum: QCAD 'How Do I' Questions
Topic: Best way to quickly find a point?
Replies: 13
Views: 382

Re: Best way to quickly find a point?

Thanks CVH, how do you see those numbers for a point? I have a custom script running that can document most entities in full floating point notation. In a way one could do the same with a novel command line tool. (dwg2csv) I only can't get that to run on a multi user Win7 32bit platform. It works o...
by CVH
Thu Jul 29, 2021 12:05 pm
Forum: QCAD 'How Do I' Questions
Topic: Combining two segments to make One
Replies: 6
Views: 170

Re: Combining two segments to make One

Convert to a polyline with OG + Simplify option ticked OG is the shortcut for 'Polyline from Segments' OG_Simplify.png The Tolerance option is the connect tolerance. Simplify unchecked, it will not merge any line segments at all. Checked, it can merge some segments depending a value epsilon. It wil...
by CVH
Thu Jul 29, 2021 7:07 am
Forum: QCAD 'How Do I' Questions
Topic: Best way to quickly find a point?
Replies: 13
Views: 382

Re: Best way to quickly find a point?

What is most strange is that:
Loop not closed at point 1137.62/219.148.
Is in fact:
(1137.61922, 219.147544) & (1137.619220324963, 219.1475435043075)
And is matching within 5e-7, what should be close enough ... :?: :!:

Regards,
CVH
by CVH
Thu Jul 29, 2021 6:15 am
Forum: QCAD 'How Do I' Questions
Topic: Best way to quickly find a point?
Replies: 13
Views: 382

Re: Best way to quickly find a point?

Turtle, Like husky examples, and my advise: Only the (singular) surrounding entities ... Trimmed pair-wise. One could exploit the fact that Polyline from Selection (OC) has a configurable tolerance and can bridge gaps. Only, I would not advice that in general because of: https://www.qcad.org/rsforum...
by CVH
Wed Jul 28, 2021 8:48 pm
Forum: QCAD 'How Do I' Questions
Topic: Combining two segments to make One
Replies: 6
Views: 170

Re: Combining two segments to make One

Husky wrote:
Wed Jul 28, 2021 7:00 pm
Convert the two lines to a polyline, explode then the polyline and you'll get one joined line.
Convert to a polyline with OG + Simplify option ticked or with OC what uses simplify by default.
One can also simplify an existing polyline with OS using a certain degree of tolerance.

Regards,
CVH
by CVH
Wed Jul 28, 2021 3:04 pm
Forum: QCAD 'How Do I' Questions
Topic: Rectangle tool to create a Polyline Rectangle
Replies: 5
Views: 120

Re: Rectangle tool to create a Polyline Rectangle

I am sure there is a setting to change the outcome of the Rectangle tool to create a Polyline Rectangle vs 4 individual segments. See Options toolbar (Toolbar is commonly used by most methods) RE-poly.png The tools parameters are persistent between calls. (Also for most tools) What you mean by the ...
by CVH
Wed Jul 28, 2021 12:50 pm
Forum: QCAD 'How Do I' Questions
Topic: Keycodes
Replies: 2
Views: 79

Re: Keycodes

Hi,
One can test that quite basic.
Go to Application Preferences .. General .. Tool Settings.
Select a method, any, and tryout your shortcut key under Shortcuts.

Close App.Prefs with 'Cancel' :wink:

Regards,
CVH
by CVH
Wed Jul 28, 2021 6:39 am
Forum: Pre-sales Questions
Topic: DXF tiling II
Replies: 6
Views: 228

Re: DXF tiling II

chrispedersen wrote:
Tue Jul 27, 2021 10:32 pm
1. DXFS do not seem to import with a consistent coordinate system.
Could you explain that phrase in more detail ...?
Got me curious :!: :wink:

Regards,
CVH
by CVH
Wed Jul 28, 2021 6:33 am
Forum: QCAD 'How Do I' Questions
Topic: Best way to quickly find a point?
Replies: 13
Views: 382

Re: Best way to quickly find a point?

Hi, JJ If I remove your hatch and try over with Hatch from Segments then I get: Loop 1 not closed at point 1137.65/220.18. Loop 2 not closed at point 1137.65/220.183. Not even on the intended boundary ... It works indeed with Hatch From Selection and trimmed entities like I mentioned. Here I prefer ...
by CVH
Wed Jul 28, 2021 6:19 am
Forum: Pre-sales Questions
Topic: DXF tiling II
Replies: 6
Views: 228

Re: DXF tiling II

Hi, I have the same problem as Andrew to grasp what the goal is. What is the reason that the vertical lines in 816a-b-c are doubled up? The first step is to explode it into components (816a). 816-test-1-9.dxf were already 3 separate 'shapes'. Did you mean shifted up? I then trim it, creating somethi...
by CVH
Wed Jul 28, 2021 5:40 am
Forum: QCAD 'How Do I' Questions
Topic: Best way to quickly find a point?
Replies: 13
Views: 382

Re: Best way to quickly find a point?

Hi, This is what I call a 'problematic bulging polyline' lately. Presumably originated from a spline. I am looking into a method to round any given polyline at its corners and face the same issues. What happens is that QCAD decompose your polyline into arc segments. At a certain point that can't be ...
by CVH
Tue Jul 27, 2021 4:14 pm
Forum: QCAD Troubleshooting and Problems
Topic: Printing .dwg files
Replies: 1
Views: 142

Re: Printing .dwg files

Hi, Defpoints is an auto-generated layer when you do Print Preview, Printout ... :wink: One should not use that for placing entities on. If I select all your dims and move then to a new layer, move drawing entities to layer 0, all seems fine. :P Dims on a white layer may appear hidden on a white pap...

Go to advanced search