Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3970 closed defect (fixed)

SVG and PNG images of models extending from partial models are not exported correctly

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version:
Keywords: Cc:

Description

See that attached package for demonstrating the occurring issue with image export.

Open Load_R and switch to the Diagram View. Right click on circuit and select "Export as an Image". For none of the supported formats

  • SVG
  • PNG
  • BMP
  • TIFF

the export of the image works correctly. To me this seems to be an issue of model Load_R extending from Load_R_draft, since only the vicinity of the connection made in Load_R_draft.

I have to note that this issue does not always occur when a model extends from another model. The attached example, however, shows a reproducible case.

Attachments (1)

ImageExport.mo (15.1 KB ) - added by Christian Kral <dr.christian.kral@…> 9 years ago.
Example to demonstrate issue

Download all attachments as: .zip

Change History (4)

by Christian Kral <dr.christian.kral@…>, 9 years ago

Attachment: ImageExport.mo added

Example to demonstrate issue

comment:1 by Martin Sjölund, 9 years ago

It seems to be the bounding box that becomes too small.

comment:2 by Adeel Asghar, 9 years ago

Milestone: Future1.10.0
Resolution: fixed
Status: newclosed

Fixed in b5fe970/OMEdit.

comment:3 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.