Author Topic: [SRC] DXF export fix for LB  (Read 13657 times)

0 Members and 1 Guest are viewing this topic.

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
[SRC] DXF export fix for LB
« on: July 10, 2015, 04:38:42 pm »
DXF export do not work, because missing layer/close seq for POLYLINE.


I've added LAYER "0" to src (ugly fix):


draftsight CAD free to test under debian/Windows/Mac (dwg, dxf):

http://www.3ds.com/products-services/draftsight-cad-software/free-download


 :)

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: [SRC] DXF export fix for LB
« Reply #1 on: July 10, 2015, 08:52:37 pm »
The DXF file export from LaserBoy only defines the ENTITES section.

The files open in DeltaCAD.

So from there you can save them as proper DXF files.

James.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: [SRC] DXF export fix for LB
« Reply #2 on: July 11, 2015, 09:54:16 am »
If you can describe exactly what you added, and it doesn't break anything when I try to open it in DeltaCAD, then I can fold it into a new release of the code, along with fixing that other thing you found about the menu text size not being recovered properly from a wtf file.

Also, if you want to dig into that chil effect and make sure it does as much as it can do to make those SD card readers happy, that would be great too!

Huh! That's the wierdest thing.... When I test the font size factor settings on my development machine, I can change it, save it, close it, open it and it works. I don't know what that's about. It doesn't work right on my laptop.

It works right on my Raspberry Pi 2 as well.

Thanks!
« Last Edit: July 11, 2015, 10:38:53 am by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: [SRC] DXF export fix for LB
« Reply #3 on: July 12, 2015, 05:36:03 pm »
ACAD DXF R12:

1. added  Layer "0"
(LINE, PLINE, VERTEX, ....)
8 = group code layer
0 = layer name

2. added close seq for POLYLINE missing after last Vertex:
 

 SEQEND

8
0

SD:
The main different between LB and the ishow prg is, it sets point to shorter distance, so the blanking Errors of the sd card interface are minor. Also the blanking path is different. (a round, no 90°)
The Error of the sdcard interface i realy ugly. It cuts out all next lines after blankings.
For example if the second line follows the same angle, it also cuts the second line out and so on.
All unblanked POLYLINES work well.

The build in RGB pallet in the sdcard interface for ilda V0 is ~ the ilda RGB palett, but it can not read it as an ilda v2/3 Frame. Internet says pangollin (64), but it is up to 256 Colors. The palett has to be setup in LB at start. I've  made a sd color version of LB with a build in ilda palett and that worked for coloring. But for implementing it to main src it has to be a setup point. But at the End at the wall is still TTL ;D  8 color.


>> I' ll post the python scrip to fix most of the issues for V0 3D Files. But at the moment gui is missing.
« Last Edit: July 12, 2015, 05:42:29 pm by emanuel »

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal