Login  Register

Re: Is this possible with LibreCAD ?

Posted by dxli on Oct 21, 2015; 1:16pm
URL: https://forum.librecad.org/Is-this-possible-with-LibreCAD-tp5712460p5712462.html

hi Carsten,

1) the problem of tiling is commonly supported as "Hatching" in CAD. LibreCAD supports hatching of contours formed by: line, arcs, or elliptic arcs, using patterns or solid fill; We would like to support spline contours as well with a little more work.

2) You don't need any extra work for circular contours, and you can even use elliptic;

3) shapes(called entities in LibreCAD) are children of layers, which supports features you may want to have: hide/show, coloring, etc.;

LibreCAD supports: distance between points, angle between lines (may want to extend this to include angle between curves at intersection), line length (line, arc, elliptic arc, but need to extend to splines), contour area (line,arc, elliptic arc);

4) if your platform has Qt, you may take LibreCAD v2, create a QC_ApplicationWindow widget as a widget instead of an application window, but there's only trivial command line support in v2;

lua scritping is in v3, but v3 doesn't contain enough features yet. We will spend more time to port features from v2 to v3.

Finally, LC v2 is GPLv2 and GPLv2+. We do not own some legacy code, and can not relicense it.

For v3, LibreCAD can relicense it BSD style licenses, when necessary.

Thanks,

hcarsten wrote
Hi everybody,
I looking around for a system which might be embbeded into a newly created software I planning and conceptioning for a client. Here CAD is only of the subproblems to be covered. I was checking a bit the docs and the manual and saw that there is a LUA scripting already existing and so partially elements might already exists.
We are going to create a C# version (most probably), but the C++ to C# Wrapper might be existing or could be build by us. Of source we are willing to push back also to the community as long as no patents are touched.

1) The first problem we are targeting is basically to cover a floor with a plates. So definining a "template" plate with a certain size, which is than duplicated to the sides till the walls are touched. The border-plate then have to cutted down. Of course the plates then should be placed edge on edge
No idea how these kind of problems are called in the CAD language but assuming this a kind of filling or collision algorithm been need here. Maybe this would be related to the snaping algos ?

So does LibreCAD offers anything here ? If so is this also accessible from the scripting interface ?

2) As an extra problem we would need the solution for 1) also for a room which is circular but a rectangle !

3) Next we have to working no really in 3D but we have to add extra layers. So there might be fixed installation e.g. of tubes or certain zones with various shapes which have to marked. Also we have in larger setups we might have pillars with will result to a certain "dead-zone" also. Ideally we can place the elements on various layers, so one layer for the pillars, one for the tubes etc.
Here we need finally a way to measure the way between two points, or to the next "dead-zone" on the way. !

So what are our options here ?

4) Finally, and of course this very important, how can be integrated LibreCAD into our system. Perfectly would be a kind of widget or custom control that allows to be scripted and controlled fully externally. So no UI is basically shown in regards to menues, or toolbars.

thanks for your thoughts

Carsten