eryar / PipeCAD

PipeCAD - Plant Piping Design Software.
https://eryar.github.io/PipeCAD/
Other
92 stars 18 forks source link

Piping Isometrics settings GUI #101

Open eryar opened 2 years ago

eryar commented 2 years ago

Give GUI for piping isomtrics options.

eryar commented 2 years ago

image

eryar commented 2 years ago

image

eryar commented 2 years ago

Option File Directory:

eryar commented 2 years ago

Sheet Layout Options: image

eryar commented 2 years ago

Select ISO option file to generate isometric drawing: image

eryar commented 2 years ago

Set isometric plot file directory and output DXF: image

eryar commented 2 years ago

Material List and Material Columns options: image

eryar commented 2 years ago

Use margin instead of drawing area: image

eryar commented 2 years ago

Alternative Texts: image

rompik commented 1 year ago

Hello Shing, Please, can you remove template for ISO from PipeCAD. In the same time, please can you add option for setup background file in dwg format in option file - for example:

aSheetLayout = os.getenv(PipeCad.CurrentProject.Code + "ISO") + "/STD/TemplateA2.dwg"
"TemplateFilePath": aSheetLayout
eryar commented 1 year ago

Hello Roman,

What do you mean "remove template for ISO from PipeCAD"?

Ok, I will add option for back sheet option, but will not support dwg format, only support dxf format. To process dwg format need use ODA SDK.

After generated ISO drawing file by IsoAlgo and use ezdxf of Python to add the template dxf file.

rompik commented 1 year ago

I mean when after producing ISO you can see frame and title block: image But when I use another format, for example A1, title block is still located like for A2. image

DXF format is suitable on current stage, so no problem to use it. There is only limitation for using image files (like png or jpg) for companies logos in dxf file, so may be later will be reasonable to use SVG format, which is opened and can be easier modified after extraction. In SVG file we can add link to database elements and to make ISO to be interactive in any doc system. But now it's just idea.

eryar commented 1 year ago

OK, I see.

I will remove the title block.

Yes, use image files directly in dxf may have problem. Some user can use tool to convert image file to dxf file.

If people have AutoCAD, they can use ObjectARX, .Net or AutoLisp develop a addin to add template dwg file automatically after IsoAlgo generated dxf file.

SVG file is a good option, like Isodraft can export plt file.