|
1542 | dwg2svg | Feature Request | Low | dwg2svg: add switch to show only given layer(s) | Assigned | |
|
Task Description
Implement a command line switch to only show a list of given layers for dwg2* command line tools.
|
|
1531 | dwg2svg | Feature Request | Low | dwg2maptiles: add support for transparent background | Closed | |
|
Task Description
Trying to create map tiles using dwg2maptiles with a transparent background by adding the option- -background=’#00FFFFFF’ -background=’transparent’
The output has transparent background but the PNGs get multiplied and scrambled and are not at all as expected.
Attached: original DWG file and an example of the error prone PNG.
|
|
2461 | dxflib | Bug Report | Very Low | ASCII Control characters not handled correctly in Commu... | Assigned | |
|
Task Description
I see the following problem: When I open a particular DXF file in the Professional Trial version 3.27.9.0 on macOS, “^I” in text fields is expanded to whitespace. When I open the same DXF file in the Community Edition 3.27.9.0 on NetBSD/x86_64 (installed from pkgsrc), “^I” in text fields is visible as “^I”.
|
|
1732 | dxflib | Bug Report | Low | Saving dimension with custom text position | Closed | |
|
Task Description
Custom text position must be written as type flag (code 70, flag 128) as well as in style overrides as codes
1070
279
1070
2
|
|
1631 | dxflib | Bug Report | Low | dxflib: wrong definition of DL_POLYLINE3D flag | Closed | |
|
Task Description
DL_POLYLINE3D should be 0×8.
|
|
1595 | dxflib | Bug Report | Low | LWPOLYLINE exports Z values for vertices | Closed | |
|
Task Description
See also: https://www.qcad.org/rsforum/viewtopic.php?f=22&t=4925
https://www.autodesk.com/techpubs/autocad/acad2000/dxf/lwpolyline_dxf_06.htm
|
|
1506 | dxflib | Feature Request | Low | writeVPort parameters | Assigned | |
|
Task Description
Add parameters to the function DL_Dxf::writeVPort. This way users will be able to specify the desired viewport.
Is the github the official repository? Are pull requests sent there accepted?
|
|
1485 | dxflib | Bug Report | Low | dxflib: Lines are on the wrong layer when processing dx ... | Closed | |
|
Task Description
I create a drawing using QCAD which is stored using dxflib. For some reasons dxflib must be used. This drawing contains arcs and lines on a separate layer. If the dxf file is processed by an other tool only the arcs are referenced to the specific layer. The lines are referenced to the standard layer 0. It doesn’t matter if I’m using the community edition or the pro edition.
After a some investigations I found that the created dxf file is not correct. I manually corrected the dxf file and it works as it should.
For details please refer to the appended files. Take a look to the ENTITY section and the LINE entities, e.g. line 2370. It is just to swap two entities.
Thanks for support.
|
|
1321 | dxflib | Bug Report | Low | dxflib: Handles not parsed correctly | Closed | |
|
Task Description
I did noticed a bug in the lib: Indeed, the handle numbers that DL_Dxf is parsing are in most case incorrect. I believe this is due to the way then handle number is parsed in DL_Dxf::processDXFGroups. The handle is parsed by calling the function getIntValue, which itself calls the function toInt to convert the handle from std::string to int by calling the function std::strtol(handle, NULL, 10). However, the handle numbers in a dxf file are stored as hexadecimal. I wrote a quick and easy fix to this issue, just tell me if you are interested!
|
|
1314 | dxflib | Bug Report | Very Low | DL_Attributes::isInPaperSpace should be const | Closed | |
|
Task Description
Only getter that’s missing it in dl_attributes.h
|
|
1305 | dxflib | Performance Issue | Low | Bottleneck in DL_Dxf::toReal caused by std::locale | Closed | |
|
Task Description
Loading any larger dxf file takes very long because of this line: istr.imbue(std::locale(”C”));
The call to std::locale is very slow. File-loading can be speed up by approximately factor 5 times on my system when replacing it. I just removed that line and instead added the following in DL_Dxf::in so it is changed only once per file:
std::locale oldLocale = std::locale::global(std::locale(”C”)); // use dot in numbers while (readDxfGroups(fp, creationInterface)) {} std::locale::global(oldLocale);
|
|
1294 | dxflib | Bug Report | Medium | Hatches scale differently now from earlier releases | Closed | |
|
Task Description
Something with hatching changed between 3.10 and 3.12; Changelog for 3.11.2 states: “Add support for hatch patterns defined per entity”. That may be?
Attached drawing from an older version; open in current and see a black box where there should be earth. Change scaling of hatch from 10 to 254 and it will be exactly the same it was when saving the file.
Curiously, that is like swapping inches and mm? Looking into prefs, there is a new drop down: “Messsytem für Linien und Schraffuren” and it read “imperial”; making it metric and bingo, my drawing looks as intended!
This is bad, because each drawing has to be changed! I changed the application default drawing setting to metric and the existing drawing still had imperial set…
Probably a heuristic was on order? If the drawing does not specify the new setting, and the drawing units is metric, use metric?
|
|
1290 | dxflib | Bug Report | Low | test code does misspell all api functions containing th ... | Closed | |
|
Task Description
All such functions in the api seem to be use the spelling Linetype (with lower-case t) while every function call in the test code does use LineType instead.
Report is for version 3.7.5 as it was the only version I found to download on the qcad.org webpage. Sourceforge also didn’t seem to have any downloads and while I found a few dxflib clones on GitHub, none seemed official or up-to-date. But maybe I’m just blind
|
|
1246 | dxflib | Bug Report | Low | Saving MText with linefeeds in escaped text causes corr ... | Closed | |
|
Task Description
Saving MText with linefeeds in escaped text causes corruption of file.
See: http://www.qcad.org/rsforum/viewtopic.php?f=76&t=3593
|
|
1203 | dxflib | Bug Report | Low | Images not saved (dxflib) | Assigned | |
|
Task Description
I am doing a bit of landscaping and using a (big) ortophoto as one of my layers in order to sanity-check on the ground measurements.
The layer contains a point and the image and nothing else.
The image is a 8MB file: “PNG image data, 4200 x 2980, 8-bit/color RGB, non-interlaced” and it is scaled to 210 coordinate units (meter) horizontally in the drawing.
With approx 50% probability the image disappears during Save, as see for instance in this diff of the DXF file:
@@ -158699,28 +153057,6 @@ AcDbXrecord
90
6
0
-IMAGEDEF
- 5
-A1
-100
-AcDbRasterImageDef
- 90
-0
- 1
-/critter/HTV10/Ortofoto/ortofoto201502f.png
- 10
-210.0
- 20
-149.0
- 11
-1.0
- 21
-1.0
-280
-1
-281
-0
- 0
ENDSEC
0
EOF
The point in the same layer does not similarly disappear, the bug only seems to affect images.
I have seen this bug from version 3.7.5.0 to git as of yesterday (63e06c778926a803bdfbffdf27b8c24d41511072).
I have not been able to correlate the bug with anything.
Looking closer at the DXF file (attached), there seems to be some residuce of attempts to insert images in protected/invisible layers, so this may be some kind of refcounting issue.
(Any chance of getting FreeBSD into the “Operating System” field ?)
|
|
1180 | dxflib | Bug Report | Low | dxflib cannot open files with international characters ... | Closed | |
4 |
Task Description
With dxflib, QCAD cannot open any file with Chinese file name or path name, it popups a “Important Error” dialog. But the writing (”Save As” command) with Chinese file name or path name is of no problem. Does it mean dxflib can only handle single byte characters file name/path name? WinXP, QCAD 3.8.0
|
|
1139 | dxflib | Bug Report | Low | dxflib: leading / trailing spaces are removed from text | Closed | |
1 |
Task Description
dxflib strips leading / trailing spaces from text when importing DXF files.
|
|
976 | dxflib | Bug Report | Low | DXF import errors related to hatches, texts | Assigned | |
|
Task Description
See: http://www.qcad.org/rsforum/posting.php?mode=reply&f=30&t=2677
|
|
2495 | ECMAScript | Bug Report | Very Low | RLine.isParallel(RLine) may return true for certain non... | Assigned | |
1 |
Task Description
Andrew,
It took me a while to find the source of a certain freak bug I encountered. I used the RLine.isParallel(RLine) as a test for knowing if line segments were parallel or not.
Included below is script code that mimics the functionally of isParallel().
As far as I know isParallel() is nowhere used in the QCAD open source. Textual only found in RLine.cpp & .h or under: opennurbs, ecmaapi\generated and ecmagenerator\src.
// Example:
// RShape1: RLine(RShape(address: "0xcd70e28"), startPoint: "RVector(969.219858, -171.914894, 0.000000, 1)", endPoint: "RVector(1010.000000, -140.000000, 0.000000, 1)")
// RShape2: RLine(RShape(address: "0x7659770"), startPoint: "RVector(969.219858, -171.914894, 0.000000, 1)", endPoint: "RVector(930.000000, -340.000000, 0.000000, 1)")
----
var aShape1Angle = shape1.getAngle(); // =0.6640461628266838 rad
var aShape2Angle = shape2.getAngle(); // =4.483157047107694 rad
----
// RLine::isParallel(RLine) -> aTest1 || aTest2
var aTest1 = RMath.isSameDirection(aShape1Angle, aShape2Angle); // =false
var aTest2 = RMath.isSameDirection(aShape1Angle, aShape2Angle + Math.PI); // =true
var aTestOr = aTest1 || aTest2; // =>TRUE !?
----
// # BUG # RShape1 is considered as parallel with RShape2
----
// RMath::isSameDirection(dir1, dir2, tol) ... tol = RS.AngleTolerance = 1e-9
// for aTest1 -> ax1Test1 || ax1Test2
var ax1Dif = Math.abs(aShape1Angle - aShape2Angle); // =3.8191108842810104 rad
var ax1Test1 = ax1Dif < 1e-9; // =false
var ax1Test2 = ax1Dif > 2*Math.PI - 1e-9; // =false
var ax1TestOr = ax1Test1 || ax1Test2; // =>FALSE
----
// for aTest2 -> ax2Test1 || ax2Test2
var ax2Dif = Math.abs(aShape1Angle - (aShape2Angle + Math.PI)); // =6.9607035378708035 rad
var ax2Test1 = ax2Dif < 1e-9; // =false
var ax2Test2 = ax2Dif > 2*Math.PI - 1e-9; // =true
var ax1TestOr = ax1Test1 || ax1Test2; // =>TRUE
----
// # BUG # The second test of the second isSameDirection() test returns true because ax2Dif is over 2pi
Regards, CVH
|
|
2438 | ECMAScript | Bug Report | Low | simple_modify.js > Faulty parameter explanation docDest ... | Closed | |
1 |
Task Description
Andrew,
simple_modify.js function paste() 10 * \param docDestination RDocument to paste into (or undefined for current document)
A) This should be a document interface of the type RDocumentInterface. B) The function uses the parameter diDestination and not docDestination
https://www.qcad.org/rsforum/viewtopic.php?f=30&t=9742
Regards, CVH
|
|
2311 | ECMAScript | Bug Report | Low | Odd self-intersection point for spline shapes | Closed | |
|
Task Description
Andrew,
Encountered with snapshot 3.26.4.9 On both a 32bit win7 and a Linux machine. But probably not related to version nor OS.
The calculated area centroid position for a self-intersecting shape is invalid. Therefor polylines and splines are checked for their self intersection nature. Polylines with line segments require a tolerance of 1e-6. For polylines with arc segments there is no easy to formulate value. Reverted to something less strict than the arc connect tolerance: 1.1e-3 Refer to: https://www.qcad.org/rsforum/viewtopic.php?f=30&t=8526&p=34056#p33694
RSpline.getSelfIntersectionPoints() has no tolerance value.
Some perfect valid spline shapes fail this test. Not related to the XP spline approx tolerance preference. Related to orientation, try the failing shape when reversed in situ. Related to their position in the plane, see translated examples.
Reproducible with control point splines. Reproducible when rotating the shape. Such failing closed splines can be hatched and an area centroid is returned.
Regards, CVH
PS: Got a notice posting this: “Notice: Trying to access array offset on value of type bool in /home/qcadch/public_html/bugtracker/scripts/details.php on line 222”
|
|
2256 | ECMAScript | Bug Report | Low | Getting the end direction of a zero-length polyline lea ... | Closed | |
|
Task Description
Andrew,
With an RPolyline shape. That is trimmed by RPolyline.trimEndPoint(cutPoint1, RVector.invalid, false); And what is turned into a null-shape having only one single vertex. Getting the end orientation of such a shape lead to an Application Crach.
RPolyline.getDirection1(); Doesn’t fail and returns 0.0rad. RPolyline.getDirection2(); Fails critical.
I would have expected 0.0rad or ‘undefined’ for both.
One can circumvent that with simply testing the nature of the RPolyline before getting the end direction, and this each time required.
Regards, CVH
|
|
2219 | ECMAScript | Task | Very Low | Update simple_create.js addSimpleText() | Closed | |
1 |
Task Description
Andrew,
Reading: https://www.qcad.org/rsforum/viewtopic.php?&t=8286
Can you update addSimpleText() as Text.Width is fixed =100
What is the noTextWidth value?
As far as I can detect ... PrintPreviewImplPro.prototype.addDecorations uses value 1. CrankWheel.js uses value 1. ExText.prototype.beginEvent uses value 2. ExDrawFonts.prototype.beginEvent uses value 1. Counter.prototype.getOperation uses QCAD.ini or default zero. TextAlong.prototype.getTextData usses the width of the textData from the dialog.
Regards, CVH
|
|
2218 | ECMAScript | Bug Report | Very Low | RPolyline.appendVertex() doesn't default to width = zer ... | Closed | |
1 |
Task Description
When I use poly.appendVertex(vector, bulge) the polyline is finally created with NAN widths
This, while the signature explains that bulge, width1 and width2 default to zero. https://www.qcad.org/doc/qcad/latest/developer/class_r_polyline_entity.html#a9ee706e50d6cc267fc84a85b7c81d5e6
Regards, CVH
|
|
2141 | ECMAScript | Suggestion | Low | Typo in simple.js | Closed | |
|
Task Description
Andrew,
Both disableInput() & enableInput() in simple.js state that input is prevented ...
It is most obvious
Regards, CVH
|
|
2108 | ECMAScript | Release | Low | FlexPainter update Beta 0.42e | Closed | |
|
Task Description
https://qcad.org/rsforum/viewtopic.php?f=30&t=6547&p=29307#p29307
FlexPainter is updated.
Should not load while PROTOOLS are absent.
Regards, CVH
|
|
2104 | ECMAScript | Refactoring | Low | Dublicate functions in scripts/simple.js and scripts/li ... | Closed | |
|
Task Description
Both of these files (scripts/simple.js and scripts/library.js) contain a function named sleep() that duplicate each other. There is probably a need to delete one of them.
Permalinks to this definitions on Github:
|
|
2103 | ECMAScript | Bug Report | Low | Crash when lengthen() executed twice | Closed | |
1 |
Task Description
This code was executed in the Script Shell window. Then the program is failing of and closed.
a = addLine(0,0,100,100);
lengthen(a, true, 50); // success
lengthen(a, true, 50); // FAILED!
|
|
1863 | ECMAScript | Feature Request | Low | WidgetFactory.saveState: save state of checkable QGroup... | Assigned | |
|
Task Description
QGroupBox widgets with <property name=”checkable”> are not saved in Qcad3.conf
|
|
1862 | ECMAScript | Bug Report | Low | (Groups of) Radio Button does not remember its state. | Closed | |
|
Task Description
Also, the way the state of radioButtons is saved on Qcad3.conf is rather confusing.
Exemple : Two radioButtons _cr_i and _cr_x are in the same QWidget. - check _cr_i - validate the form with OK - reopen the form, check _cr_x - validate the form with OK
the config file reads
[_myPlenum2]
VisibleInMenu=true
...
_cr_i=_cr_i
_cr_x=_cr_x
...
On next form run, even if I select _cr_i, the radiobutton QWidget always takes the value of _cr_x.
|
|
1643 | ECMAScript | Feature Request | Low | Modify > Explode: make drawing order predictable | Closed | |
|
Task Description
Usecase: Multiple entities ( for example polylines ) get exploded...
BUG: the exploded lines have all the same drawing ids the old entities had, a consequence of this is that when one explodes and then exports to dxf file the line order get’s scrambled wildly the exported order is “random”!
SUGGESTED FIX: sort the selected entities by their id first then after copying attributes ⇒ also set the order of the elements to the default order ! ( see fix in sourcecode attached )
|
|
1493 | ECMAScript | Bug Report | Low | script processing failure using -exec | Closed | |
|
Task Description
I have just updated from 3.11.0 to 3.15.5. Often, I load a script with the command format ..../qcad -exec ..../dims.js Note that the script filename is dims.
* Everything is satisfactory with 3.11.0 and always has been.
* qcad-3.15.5 runs satisfactorily without an -exec switch
* qcad-3.15.5 -exec same-file-as-for-3.11.0 crashes per the attached screenshot. The screenshot has been generated by adding the -enable-script-debugger switch.
* It appears that the script dims.js runs completely, and the crash happens as the script handler terminates. The qcad window is complete with the contents defined in dims.js, also qcad is usable normally. This qcad disappears when the debugger is terminated.
* This problem is totally repeatable.
|
|
1178 | ECMAScript | Bug Report | Low | scripting definition point and vertical DIMs | Closed | |
|
Task Description
A regression? In my script I draw stacked dims (depth d):
var c = RVector.getAverage(a, b); // Zentrum der Messung
var dim = new RDimRotatedData();
dim.setExtensionPoint1(a);
dim.setExtensionPoint2(b);
c.x = a.x + d * 50 + ( d > 0 ? 50 : -50 );
dim.setDefinitionPoint(c);
dim.setRotation(Math.PI / 2);
Curiosly, this would work in 3.7.5 but fail in 3.7.7: the DefinitionPoint would be ignored then, but only in vertical ones, not in horizontal ones!
More curiously still: The DIM gets drawn right as soon as I move the setRotation call before the setDefinitionPoint call!
PS: the debugger proved very helpful again :)
|
|
1163 | ECMAScript | Bug Report | Medium | DoveTail-script crashes QCAD | Closed | |
|
Task Description
Hi!
I just installed QCAD v3.7.5 and it works like a charm.
Then I installed the DoveTail-script (http://www.qcad.org/rsforum/download/file.php?id=623) and after that QCAD won’t start anymore.
This is the output on the command line in Linux:
Debug: RDwgPlugin::init Debug: RDxfPlugin::init Debug: RHelpPlugin::init Debug: RProScriptsPlugin::init Debug: loading patterns from file: “/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/metric/qcadiso.lin” Debug: shape found: “ZIG” Debug: shape found: “BAT” Debug: shape found: “TRACK1” Debug: shape found: “BOX” Debug: shape found: “CIRC1” Debug: shape found: “RIGHT_ARROW” Debug: loading patterns from file: “/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/imperial/qcad.lin” Debug: TIMER: 67 ms - “loading add-ons” Warning: RScriptHandlerEcma::eval: script engine exception: “TypeError: Result of expression ‘action.addToWidget’ [undefined] is not a function.” Warning: “<anonymous>()@/opt/qcad-3.7.5-pro-linux-x86_64/scripts/File/../EAction.js:1180” Warning: At least one uncaught exception: Warning: “<anonymous>()@/opt/qcad-3.7.5-pro-linux-x86_64/scripts/File/../EAction.js:1180” Debug: “<global>() at -1”
Don’t know whether that is a bug in the script or in QCAD, so I am reporting it here.
Christian
|
|
358 | ECMAScript | Feature Request | Low | lfVVCSSMBo | Closed | |
|
Task Description
Good point. I hadn’t thgouht about it quite that way. :)
|
|
357 | ECMAScript | Bug Report | Low | include should raise exception if file not found | Closed | |
|
Task Description
include() should raise exception if file not found.
This is actually the case but does not seem to work properly.
|
|
324 | ECMAScript | Feature Request | Low | SVG export depends on GUI | Closed | |
|
Task Description
SvgExporter.js uses PrintPreview to parse the scale string, and therefore depends on the qt GUI part. That should not make maintenance harder to call RMath directly there? Results seem to match from a first look.
--- SvgExporter.js~ 2011-10-20 14:11:45.527589416 +0200
+++ SvgExporter.js 2011-10-20 14:12:46.277502814 +0200
@@ -1,6 +1,5 @@
include("scripts/library.js");
include("scripts/date.js");
-include("scripts/File/PrintPreview/Print.js");
/**
* File exporter implementation for the SVG format.
@@ -116,7 +115,7 @@
this.svgUnitAbbr = ret[1];
// scale
- this.scale = Print.parseScale(this.scaleStr);
+ this.scale = RMath.parseScale(this.scaleStr);
var bb = this.doc.getBoundingBox();
var size = bb.getSize();
|
|
323 | ECMAScript | Feature Request | Low | Exceptions in headless scripts | Closed | |
|
Task Description
The capability of running headless, ie. without GUI, is a very welcome addition to QCAD. I suggest one more improvement:
When an exception occurs in a script (running from autostart) and no-gui was opted for on the command line, QCAD should not try to bring up the debugger ever (regardless of any preferences), but print the message of the exception and possibly a backtrace instead.
Otherwise all errors will produce the same message…
|
|
305 | ECMAScript | Feature Request | Low | executing script at terminal command prompt | Closed | |
|
Task Description
Hello. My question is: can I run my script under Linux QCAD using Linux command prompt. Something like this. Print in terminal: “./qcad myscript.qs” And can the script executing without QCAD GUI? I need to make my drawing by printing specific command in linux command prompt without using GUI. So after script end his work I want to have my drawing at destination directory. Thank you.
|
|
160 | ECMAScript | Bug Report | Medium | SplitIntoEqualParts.js: Uncaught exception | Closed | |
|
Task Description
Uncaught exception at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174: Error: :-1:-1: REntity: Argument 0 is not of type REntity *REntity *.
<native>(RLineEntityPointer(0xb73b4c8)) at -1
<anonymous>(op = RAddObjectsOperation(0xb733790), argLine = RLineEntityPointer(0xb73b4c8)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174
<anonymous>(op = RAddObjectsOperation(0xb733790)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:111
<anonymous>(true) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:95
<anonymous>() at /home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1150
<anonymous>() at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:73
<global>() at -1
174 line.copyAttributesFrom(argLine);
qsdb> argLine
RLineEntityPointer(0xb73b4c8)
|
|
149 | ECMAScript | Bug Report | Low | SIGABRT when trying to use entiy.setColor() | Closed | |
|
Task Description
Script context: Compare.js#413:
"green"
ECMA code:
QScriptValue
REcmaSharedPointerEntity::setColor
(QScriptContext* context, QScriptEngine* engine)
{
QScriptValue result = engine->undefinedValue();
// public function: can be called from ECMA wrapper of ECMA shell:
REntity* self =
getSelf("setColor", context);
=> Q_ASSERT(self!=NULL);
Stacktrace:
Thread [1] 18673 (Suspended : Signal : SIGABRT:Aborted)
__kernel_vsyscall() at 0xffffe424
raise() at 0xb4efc8df
abort() at 0xb4efe220
RMainWindow::messageHandler() at RMainWindow.cpp:63 0x8f3917a
qt_message_output() at 0xb5356f65
0xb53571ab
qFatal() at 0xb53572c9
qt_assert() at 0xb5357355
REcmaSharedPointerEntity::setColor() at REcmaSharedPointerEntity.cpp:1,360 0x8bc0602
0xb6bd813c
0xb6ac1f68
0xb6a9164c
0xa622afd2
0xb6a423e3
0xb6af06e0
0xb6ac201e
0xb6be0cd3
0xb6be11a9
QMetaObject::metacall() at 0xb5478c83
QMetaObject::activate() at 0xb5489134
<...more frames...>
|
|
103 | ECMAScript | Feature Request | Low | Runtime reload script | Closed | |
|
Task Description
As of TP1, a script once loaded into the runtime, does reflect changes to the file it was loaded from only after a restart of the whole of QCAD. This adds a considerable time overhead to developing scripts. Therefore I want to suggest a reload mechanism, that works kind of like the one known from a web browser.
As there is no clear separation between users custom scripts and ribbonsoft supplied scripts, checking the modification time for every access to any script might prove a performance hit.
Possibly a user script can be written, to invalidate another certain script and have the runtime reload it from file? I could add that to my menu.
Or as some magic, that can be written to “MyAction.init()”?
|
|
82 | ECMAScript | Task | Low | rename some ECMAScript classes | Closed | |
|
Task Description
New → FileNew Close → FileClose ...
|
|
35 | ECMAScript | Task | Low | Verify ECMAScript code | Closed | |
|
Task Description
Verify ECMAScript code with: http://www.javascriptlint.com/download.htm
|
|
32 | ECMAScript | Bug Report | High | REcmaDocument.h: queryIntersectedEntitiesXY() is missin ... | Closed | |
|
Task Description
context:
'doc.queryIntersectedEntitiesXY'
RDocument.h:
QSet<REntity::Id> queryContainedEntities(
const RBox& box
);
QSet<REntity::Id> queryIntersectedEntitiesXY(
const RBox& box,
bool checkBoundingBoxOnly=false,
RBlock::Id blockId = RBlock::INVALID_ID,
const QList<RS::EntityType>& filter = QList<RS::EntityType>()
);
QSet<REntity::Id> queryContainedEntitiesXY(
const RBox& box
);
REcmaDocument.h:
static QScriptValue
queryContainedEntities(QScriptContext* context, QScriptEngine* engine);
static QScriptValue
queryContainedEntitiesXY(QScriptContext* context, QScriptEngine* engine);
static QScriptValue
|
|
17 | ECMAScript | Bug Report | Low | RLineEntityPointer doesn't work as function argument of ... | Closed | |
|
Task Description
Script code (SvgExporter.js):
245 // only export entities on main block "*Model_Space":
246 if (realEntity.getBlockId() == this.doc.getBlockId("*Model_Space")) {
247 RFileExporterAdapter.prototype.exportEntity.call(this, entity, false);
248 }
Script debugger exception:
Uncaught exception at /home/martin/workspace/rsframework/scripts/File/SvgExport/SvgExporter.js:246:
Error: :-1:-1: RExporter: Argument 0 is not of type REntity*.
<native>(RLineEntityPointer(0xb6fb158), false) at -1
<anonymous>(entity = RLineEntityPointer(0xb6fb158), preview = false) at
/home/martin/workspace/rsframework/scripts/File/SvgExport/SvgExporter.js:246
<anonymous>() at /home/martin/workspace/rsframework/scripts/File/SvgExport/SvgExporter.js:211
Workaround: Used exportEntity() with ID as argument instead. However there may be other cases where no alternative method is available.
RFileExporterAdapter.prototype.exportEntity.call(this, realEntity.getId());
|
|
2563 | QCAD (main) | Bug Report | Low | Command Line tool dwgexplode does not explode spline en ... | Closed | |
|
Task Description
Andrew,
Usage states: “Default is to explode everything into points, lines, arcs and circles”
In this Forum Topic 10358 you explain to use an exclusion list: “dwgexplode is geared towards exploding everything. You’d have to provide a list of all entity types that are acceptable (i.e. don’t need to be exploded)”
Your example list includes the entity type ‘Splines’. Marking splines entities as acceptable or not contradicts that they are never exploded.
But in the code itself is stated: “explode texts to splines, arcs, lines”
TTF text is indeed exploded in mostly splines and some arcs or lines if that is appropriate.
All depends on the intended behavior ... Related forum topic: https://www.qcad.org/rsforum/viewtopic.php?f=32&t=10767
Regards, CVH
|
|
2562 | QCAD (main) | Bug Report | Low | Color dialog does not show previous custom color initia ... | Closed | |
|
Task Description
Steps to reproduce 1. create entity 2. select entity 3. property editor, change color to a custom color 4. deselect entity 5. select entity 6. in property editor, choose custom color
|
|
2561 | QCAD (main) | Bug Report | Low | Import Issue from "Alibre Design" | Closed | |
|
Task Description
Greetings, I am a user of Alibre Design. When I export the dxf or dwg from alibre the dimensions are shown outside the sheet models. I tried with different 2D CADs and only QCad and LibreCad give me this type of error. Is this something known? Do I need to attach more files to understand the problem? Thanks for your attention, Greetings, Francesco Ricci
|
|
2560 | QCAD (main) | Bug Report | Low | Layer > Duplicate Layer: objects duplicated on original ... | Closed | |
|
Task Description
1) Start with a new fresh drawing 2) draw an object (e.g. Circle) 3) select Layer>Duplicate Layer 4) Proposed name “0 Kopie” is ok, and maybe change color 5) New Layer “0 Kopie” is created but no objects in this copied layer. 6) Select original layer and select Modify>Detection>Detect Duplicates =⇒ there you find the copy of your layer content twice
|