Is this possible with LibreCAD ?
Posted by hcarsten on Oct 21, 2015; 10:27am
URL: https://forum.librecad.org/Is-this-possible-with-LibreCAD-tp5712460.html
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