Hello!
I am playing around with the demo version of Aspose.CAD. The source is a IFC2x3 file. The expected output should be a view of the object’s facade, something similar to this.
I got the rotations set up correctly, but the output is a wireframe of all elements
Question being: (How) Can I only draw elements that would be visible from the specific point of view?
Here is the relevant Java code I used to generate the image:
IfcImage image = (IfcImage) Image.load(pathToIfc);
CadRasterizationOptions vectorOptions = new CadRasterizationOptions();
vectorOptions.setPageWidth(1500);
vectorOptions.setPageHeight(1500);
vectorOptions.setObserverPoint(new ObserverPoint(-90, 0, 0));
SvgOptions svgOptions = new SvgOptions();
svgOptions.setVectorRasterizationOptions(vectorOptions);
image.save("/eXchange/Downloads/tmp/testx-90.svg", svgOptions);
EDIT:
To be clear: I do not need coloring or textures, wireframes are fine. But the output should be limited to visible objects.