Skip to main content
Solved

CAD object face number limit?

  • September 6, 2024
  • 6 replies
  • 124 views

John.Hygelund
Fully Spectral
Forum|alt.badge.img+1

I’m trying to simulate a chrome-on-glass target in non-sequential mode by assigning a OD transmission coating to each dark face as shown in the image below.

When I import the CAD as step file, all the surfaces above 50 are all assigned to face 0. It’s like there are only 50 faces allowed? Is there any way around this?

I’ve tried importing with .igs with the same problem.

Importing with .stl doesn’t include the individual faces.

any suggestions or pointers?

Best answer by David.Nguyen

@John.Hygelund 

 

Just a quick thought. Could you break the CAD part outside OpticStudio and have multiple CAD objects with max. 50 faces in OpticStudio?

Take care,

 

David

View original
Did this topic help you find an answer to your question?

6 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1089 replies
  • Answer
  • September 6, 2024

@John.Hygelund 

 

Just a quick thought. Could you break the CAD part outside OpticStudio and have multiple CAD objects with max. 50 faces in OpticStudio?

Take care,

 

David


Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 490 replies
  • September 7, 2024

@John.Hygelund:

If you are only interested in modeling target absorption and don’t need the reflection from the chrome, then perhaps you can avoid a CAD object all together and just use a slide object?  Presumably you can adjust the gray scale values of the attenuating pixels to match the OD of your mask.  One slide object can yield 8-bit intensity modulation (i.e., OD 2.4).  Two adjacent slide objects can provide 16-bit modulation (i.e., OD 4.8), which should be good enough to simulate chrome-on-glass. 

Here is a simple 2 x 2 pixel mask (PNG format) that I generated in Matlab.

Just a thought…

Regards,

Jeff


John.Hygelund
Fully Spectral
Forum|alt.badge.img+1
  • Author
  • Fully Spectral
  • 71 replies
  • September 7, 2024

@Jeff.Wilde ,

Thanks for your suggestion. I should have mentioned that I’ve currently implemented this via a ‘slide’, but I wanted to model the reflections and validate the CAD geometry (from which the actual target will be produced). 

The slide object is very powerful and I use it frequently, but I hadn’t thought about doubling it up. Thanks for that idea!

 


John.Hygelund
Fully Spectral
Forum|alt.badge.img+1
  • Author
  • Fully Spectral
  • 71 replies
  • September 8, 2024

@David.Nguyen ,

Good idea, that worked. Thanks!

 


Forum|alt.badge.img
  • Ultraviolet
  • 99 replies
  • September 10, 2024

Hi,

 

A little late as you already have an answer, but you can also group the surfaces (the individual geometrical element) per properties in something like 4 faces (entities sharing the same properties) only in your object: edge, back face, front transparent and front black.

Select using the object viewer and then change the face number to faces 0-3.

 


John.Hygelund
Fully Spectral
Forum|alt.badge.img+1
  • Author
  • Fully Spectral
  • 71 replies
  • September 10, 2024

@Ray , thanks for your idea. I didn’t try that, but I will next time. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings