News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

HGPL Import Help

Started by jdi000, July 06, 2007, 01:38:17 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jdi000

I cannot get a HPGL file to import into DesignCad 15.3  It gets to 99% and then errors out. I get a DesignCAD MAX DLL has encountered a problem and needs to close.

AppName: dcad15.exe    AppVer: 15.3.0.2    ModName: dcad15.exe
ModVer: 15.3.0.2    Offset: 004db133


Any suggestions ??

Jason

Slind

Is there a way to check what application is generating the HPGL ?

If it's from Adobe Illustrator CS2, there are changes from the previous AI apps
making it more difficult opening some files. ( Unless of course, you purchase AI CS2. )

Identifying the source app can save a lot of time.  The provider usually has to do the
tweaking to make it more digestable.  Sometimes it just takes checking off a single
missed setting at their end to resolve the issue.

1)  Always make sure that if it's Mac generated, they export / save in a PC file format.

2)  If it's from a 3D app, AI CS2, etc. you can ask for the file to be saved in an older
     export version.  Ex. Instead of 2007 version, have them export in a 2000 version.

3)  You might download the DCAD demo V17, then the 17.1 and 17.2 patches.  Once
     all patches are installed, then open V17.2 and attempt the import. 
     
Only issues with HPGL I have had is that the file shrunk or stretched in the exporting /
importing.  Scaled back to size in DCAD.  Not hard to do.

Hope this helps.

Shawn

" First comes the learning, then the unlearning. "

jdi000

The file was generated by a nesting software for 2d laser cutting.  I was able to try the file in Turbocad 11.2 and it imported but i had to change the extension to .plt.  There are not any setting in the original program to change and this program is creating very basic hpgl files and they should open without issue.  I tried renaming the file different extensions like .plt, .hpgl, and .hgl and all generate the same error   I would like to open this file in DC if anyone has any other suggestions.


Thanks

Jason

Slind

One thing you might look at are the layers of the file.

It's been mentioned before that there can be extra directions
buried in the "0" layer that interfere with DCAD, etc.

Have had small success with combining all layers, or alternatively
deleting the 0 layer.  If you combine, have them move to layer 1
or 2, something other than 0.  This can be hit or miss, but can
allow some forward movement.

Was recently told by a 3D application developer that " DXF is an
ancient format."  This speaks volumes as to why drawing programs
are at times so difficult to translate one from another.  It's like
philosophers in a food fight. 

Hope this helps.

Shawn

" First comes the learning, then the unlearning. "
 

support

Which HPGL format is the file in 1 or 2? If it is an HPGL2 format DCAD will not import it.

jdi000

The format is HPGL1.  What is the ext that dc is looking for .plt, or .hgl, or .hpgl?


Thanks Jason

magic

Hi Jason and Shawn,

To Jason: DesignCAD looks for extensions .plt or .hgl.

To Shawn: .dxf may be ancient, but it is still the single mostly used CAD transfer file format. However, some of the expensive 3D application developers are reluctant to admit that any other formats than their own are any good and therefore make lousy export converters.

Therefore it would be a good idea, if down-to-earth software like DesignCAD could import and export parasolids.
It's a kind of magic!




Slind

Magic,

I whole heartedly agree with the benefits of DXF format
and use it daily in conjunction with our CNC equipment.

Regrettably, many developers want their application to become
the ' standard ', missing the boat on workability with other apps.
The impoverishing of export converters is the cause, but the attitude
behind it is the driver. 

Enhanced import / export capability has my vote.  The need will only
increase over time. 

Shawn

" First comes the learning, then the unlearning. "