Search found 8 matches

by wdfortee
Thu Aug 20, 2020 11:55 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Having trouble figuring out line spacing factor
Replies: 5
Views: 792

Re: Having trouble figuring out line spacing factor

Once again, I am extremely greatful for the help. Especially after you took the time to explain the process you took to figure out 1.44. Highly interested. Artistic, 3D & plain CNC engraver myself. Learned the trade 6 years ago from my mentor, a neighbor that ended his business and retired. After 3 ...
by wdfortee
Thu Aug 20, 2020 9:07 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Having trouble figuring out line spacing factor
Replies: 5
Views: 792

Re: Having trouble figuring out line spacing factor

Ok, what I'm hearing is basically text is a pain to deal with. But, I plugged in ((Text Height x Line Spacing x 1.44) - Text Height) and get the right answer each time within hundreths of millimeters. I must be a newb at not only coding, but maths as well. I was already planning on using getBounding...
by wdfortee
Thu Aug 20, 2020 3:22 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Having trouble figuring out line spacing factor
Replies: 5
Views: 792

Having trouble figuring out line spacing factor

I'm using QCAD Pro 3.21.3 on Windows 10 x64 and ECMAScript. I'm trying to create a widget that can create text from list, but I need to allow for single or multi line text. I'm calculating text size based on a given text area. The problem I'm having is trying to figure out how to pre-calculate the l...
by wdfortee
Mon Aug 10, 2020 1:32 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Modify text's X scale property
Replies: 2
Views: 255

Re: Modify text's X scale property

Worked perfectly, thanks so much. I guess I need to spend more time looking at reference. In the past, I've only coded python scripts and simple programs from various languages. The API for QCAD is a little overwhelming for me and not exactly sure how to always track down the getters and setters. Th...
by wdfortee
Sun Aug 09, 2020 9:12 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Modify text's X scale property
Replies: 2
Views: 255

Modify text's X scale property

I'm using QCAD Pro 3.21.3 on Windows 10 x64. I'm trying to modify a text entities X scale but it seems I have no idea what I'm doing wrong. I've created a text entity using: text = new RTextEntity(document, new RTextData( [text values here]); Looking at the reference material, doesn't look like ther...
by wdfortee
Tue Mar 27, 2018 12:32 am
Forum: QCAD/CAM
Topic: Help with postprocessors
Replies: 18
Views: 13755

Re: Help with postprocessors

Great, thanks for the information. It was definitely my mistake for not quite understanding the meaning of that safety level and seeing that there was a previous issue and assuming the worst. Also, I tried to make a new file, but was having a problem with the function naming scheme, I guess, which w...
by wdfortee
Fri Mar 23, 2018 9:06 pm
Forum: QCAD/CAM
Topic: Help with postprocessors
Replies: 18
Views: 13755

Re: Help with postprocessors

Thanks for the quick reply. I'm currently using 3.19.2.0 Windows 32bit Trial edition until I can figure out how to solve this one problem without having to manually edit the gcode file every time. For the past few years, I had been using QCAD CE to make dxf files and then opening them in a program c...
by wdfortee
Fri Mar 23, 2018 3:24 pm
Forum: QCAD/CAM
Topic: Help with postprocessors
Replies: 18
Views: 13755

Re: Help with postprocessors

I'm currently using version 3.19 and am still seeing the "G0 Z100" appear after my custom header. I checked the bug tracker listed above and it lists "Closed". Has this not been included in the current version or am I doing something wrong to set my Z home?

Go to advanced search