Rizuan Razali 0 Report post Posted July 28 Greeting everyone, Currently, I am trying to do optimization of a hull form that consists of many surfaces. Then I put all the surfaces together using "breps". However, when I tried to generate an image surface at the source part, it looked like I had failed to put "Breps" as the source for the image surface. I have attached a picture below for your reference. What can I do to put that "Breps" as the source? I hope you guys can help me with this problem. Thank you. Share this post Link to post Share on other sites
Mr. Heinrich von Zadow 5 Report post Posted July 28 Hi Rizuan, An image surface only accepts surfaces as input, no BReps. You can have images of individual BRep patches (or their underlying, untrimmed NURBS surfaces, to be more precise) by setting "brep1.getSurfaces(0)" as a source. Obviously, 0 can be replaced by any other surface ID... Here is an example: Note, that the underlying surface of the circular patch is actually rectangular (That's what BReps -- "boundary representation" -- are there for, after all). Hope this sheds some light onto the topic. Why is it, that you wanted to create an image, anyway? Maybe there is a different way to get what you are after. Best regards Heinrich Share this post Link to post Share on other sites
Rizuan Razali 0 Report post Posted August 1 Hi, Mr. Heinrich, First of all, thank you for your reply. I wanted to create an image surface of my initial hull to do the optimization by using the Lankendby method in order to find the optimum hull form. However, this time the initial hull form consists of many surfaces, approximately 180 surfaces, as I attached below. It is complicated to do image surface 1 by 1 of the initial hull. I already tried your suggestion, but it also makes an image surface from a single surface, not all the surfaces that I put in breps. best regards, Rizuan Share this post Link to post Share on other sites