Stream: brlcad

Topic: Submodel Primitives


view this post on Zulip Agape Gonzales (Jan 19 2018 at 06:22):

Hello, I'm wondering what are "submodel primitives" described on the model a chess scene task?

view this post on Zulip Sean (Jan 19 2018 at 06:27):

submodels are a way to have a model spread out across multiple .g files

view this post on Zulip Sean (Jan 19 2018 at 06:27):

they're actual objects in the database that you create like tor and sph, but called 'submodel'

view this post on Zulip Sean (Jan 19 2018 at 06:27):

you can create them with the 'in' command

view this post on Zulip Agape Gonzales (Jan 19 2018 at 06:30):

I see

view this post on Zulip Agape Gonzales (Jan 19 2018 at 06:30):

Thanks @Sean

view this post on Zulip Sean (Jan 19 2018 at 06:30):

sure

view this post on Zulip Sean (Jan 19 2018 at 06:31):

you can create them pretty easily, just make a file in one .g, then make another in another .g, then create a submodel to both and union them

view this post on Zulip Chiranjiv Singh Malhi (Jan 15 2020 at 10:56):

After creating a submodel , how can one make the instances , I can't copy it or make instances using the g command(the instance gets made but instantly vanishes after applying matrices) Can someone help me with this?

view this post on Zulip Sean (Jan 16 2020 at 06:26):

After creating a submodel , how can one make the instances , I can't copy it or make instances using the g command(the instance gets made but instantly vanishes after applying matrices) Can someone help me with this?

@Chiranjiv Singh Malhi can you show me an example of this? If you run "autoview" does it reappear? autoview will reset the display so everything drawn (run "who" to see what is drawn) will be within the view.


Last updated: Oct 09 2024 at 00:44 UTC