Problem with limit on elements/lines. sugestions for settings?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with limit on elements/lines. sugestions for settings?

terryc
I'm a new user of LC, but not of CAd, graphics etc.
I started a new drawing and entered lines/polylines from the command line in the following way;
li
x1,y1
x2,y2
x3,y3
k

All went well with autozoom, print previews and print working fine.
So i continued adding more lines until I noticed lines were disappearing.
There seems to be a limit of 66 lines.
elemenets/lines counted from importing into Freecad and looking at ts report.
This problem is reprocucible and I eneded up starting the plan three times to try and determine the problem. unfortunatle themmanual/wiki searching was no help.

It occursa mostly in the latter(not neccessarily last) entries on any layer.
I've already tried a remove and reinstall of librecad(Devuan-beowulf == debian buster), but that didn't fix the problem.

Ideas/tips welcome.. T.y.
.three plans
Reply | Threaded
Open this post in threaded view
|

Re: Problem with limit on elements/lines. sugestions for settings?

LordOfBikes
Administrator
Welcome terryc,

I've never heard about this kind of issue.
Can you please be more specific about the steps to reproduce your issue.
Which LibreCAD version do you use? Which OS?
Inch or metric?

What happens when the issue occur? Any message in the command history box?
Can you copy/paste the command history which leads to the issue to a file and post it here?

terryc wrote
I started a new drawing and entered lines/polylines from the command line in the following way;
Does this surely happen with both, lines (li) and polylines (pl)?

terryc wrote
It occurs mostly in the latter (not necessarily last) entries on any layer.
How can I understand that?
Does this mean, that you are able to add entities with more than 66 segments on lower layers?
Is 66 the number of all entities in the file or on a layer or vertices of a polyline?

For testing I created commands with 100 coordinates and it worked well with line and polyline.
I used multi line pasting which was added with 2.1.2 or 2.1.3 I think.
This allows pasting multi line commands or load multi line files with valid commands.
There is a little button on the right side of the LibreCAD command line if this is available in your version.
You can also paste this to the LibreCAD command line to see if work in your version:
li;0,0;10,10;20,0;30,10;40,0;k
If this works for you, you can save or prepare commands in text files for easier testing.

The only problem I recognized was with polyline.
When you activate the polyline tool from menu or tool bar, you will see a drop down in the top tool options bar appear with close and undo button.
This is the polyline creation mode. If the mode is not 'Line', this may explain your issue in case of polylines.
Set it to 'Line' and try again.
If it is already 'Line', it's correct and not relevant for the issue.

Armin
Reply | Threaded
Open this post in threaded view
|

Test Re: Problem with limit on elements/lines. sugestions for settings?

terryc
On Tue, 16 Mar 2021 01:23:46 -0700 (MST)
"LordOfBikes [via LibreCAD]" <[hidden email]>
wrote:

> Welcome terryc,
>
> I've never heard about this kind of issue.
> Can you please be more specific about the steps to reproduce your
> issue.

Steps, basically as I said in the question;
1 File -> New and start new drawing.
2 Create a new layer and select.
3 Then I enter a series of commands in the command line to create a
line, e.g
     li
     0,0
     0,1000
     1000,1000
     1000,0
     0,0
     k
3 I just keep on doing this over and over again.
4 Eventually I noticed that some lines were disappearing

The saved DXF is here;http://woa.com.au/terryc/shared/faulty-drawing.dxf

> Which LibreCAD version do you use?
From about;
     Version: 2.1.3
     Compiler: GNU GCC 8.3.0
     Compiled on: May 16 2019
     Qt Version: 5.11.3
     Boost Version: 1.67.0

> Which OS?  
 Devuan-beowulf, which is Debian-buster without system-d.

> Inch or metric?

Metric & millimetres
>
> What happens when the issue occur?

A 'random' lines disappears from the drawing, although they tend to be
clumped and be part of a polyline (so far).

>Any message in the command history box?
Nnone, just the history of my entries..

>Can you copy/paste the command
history which leads to the issue
> to a file and post it here?

Chuckle No. The nature of the entry is that I'm basically generating
coordinates in my head for a stack of 'boxes' and bent
lines(building/land edges) from scribble on scrap paper. I haven't
progressed to creating files of coordinates yet.

I'm rather sure it may be a default setting as it happened three times
for three completely new drawings.

However, no stress as I have a work around.
I raised this on the #[hidden email] chat forum and
someone (Apologies, but I forgot their nick) sent me a file of scribble
that was beyond the 66 element/entity limit and I am using that as a
template and have proceeded past the limit.
>
>
> terryc wrote
> > I started a new drawing and entered lines/polylines from the
> > command line in the following way;  
>
> Does this surely happen with both, lines (li) and polylines (pl)?

To date, I've only used "li" and entered lines(two points) and
polylines (3-5 points). I haven't used "pl" as I'm still to learn
further commands.


>
>
> terryc wrote
> > It occurs mostly in the latter (not necessarily last) entries on any
> > layer.  
>
> How can I understand that?
> Does this mean, that you are able to add entities with more than 66
> segments on lower layers?

No, entering an element in one layer, causes another element/line to
randomly(?) disappear from another layer. It tends to be one of the
latter entries in the previous layer I was entering data on.


> Is 66 the number of all entities in the file or on a layer or
> vertices of a polyline?

I read the saved DXF into Freecad and looked at the number of entities
there. The print out is the same plan as the corrupted plan, so it is
definitely affecting entered data.

>
> For testing I created commands with 100 coordinates and it worked
> well with line and polyline.
> I used  multi line pasting
> <https://librecad.readthedocs.io/en/latest/guides/cmdline.html?highlight=multi#multi-command-input>  
> which was added with 2.1.2 or 2.1.3 I think.
> This allows pasting multi line commands or load multi line files with
> valid commands.
> There is a little button on the right side of the LibreCAD command
> line if this is available in your version.
> You can also paste this to the LibreCAD command line to see if work
> in your version:
> li;0,0;10,10;20,0;30,10;40,0;k
> If this works for you, you can save or prepare commands in text files
> for easier testing.
>
> The only problem I recognized was with polyline.
> When you activate the polyline tool from menu or tool bar, you will
> see a drop down in the top tool options bar
> <https://librecad.readthedocs.io/en/latest/ref/tools.html?highlight=polyline#polyline>  
> appear with close and undo button.
> This is the polyline creation mode. If the mode is not 'Line', this
> may explain your issue in case of polylines.
> Set it to 'Line' and try again.
> If it is already 'Line', it's correct and not relevant for the issue.

Okay, I'll try and take notice of what happens in that area.
The undo, close,etc boxes do appear.

Thank You.
Reply | Threaded
Open this post in threaded view
|

Re: Test Re: Problem with limit on elements/lines. sugestions for settings?

LordOfBikes
Administrator
I've no idea about your issue.

The DXF file you've posted, works fine for me. I can open it and add hundreds of entities.
This means that the settings in Current Drawing Preferences should be okay.

And when you can work with another DXF without this issue, settings in Application Preferences should be okay too.

How did you start your drawings?
A new, empty drawing from LibreCAD template? Or did you open another, non LibreCAD DXF where you added the lines?
Then possibly the template is corrupt and saving solves the issue.
When you save the file, close and reopen it, does the issue persist?