Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS  (Read 1726 times)

neirao

  • Sr. Member
  • ****
  • Posts: 606
  • Neirao
    • View Profile
Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« on: April 17, 2018, 05:33:34 pm »

Can someone create this script :'( ?
Thanks Advance! :)
« Last Edit: April 17, 2018, 06:19:00 pm by neirao »
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 606
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #1 on: April 19, 2018, 01:47:07 am »


Hi Guys,
im try do this script... my first code select the objects with 'SHAPE_KIND_SUBDIVISION'
but how i can access and change the 'Working' and 'Final' value???

 :'(  ???

here .a8s CODE on Paste Bin:
https://pastebin.com/eBkf8tG7
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 606
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #2 on: April 19, 2018, 06:26:56 pm »

Someone know how?? in 'ASL Specification' not show it... :'( :'(
Logged

AlecJames

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #3 on: April 19, 2018, 07:27:04 pm »

I searched the asl spec like you and didn't find it.  It says struct shape can contains a mesh or subdivision shape; the mesh struct is described but I don't see a subdivision struct.  So my guess is that a subdivision cannot be manipulated in asl.

Maybe Steve can confirm one way or the other when he sees this thread.
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 606
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #4 on: April 20, 2018, 01:54:01 pm »

Hi @AlecJames

yes, i search and nothing :'( ... i say to Steve maybe he solved this :)

Thanks! :)
« Last Edit: April 20, 2018, 02:25:12 pm by neirao »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1670
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #5 on: April 20, 2018, 03:17:15 pm »

You only can access the mesh. It is subdivided automatically before it is shown.
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 606
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #6 on: April 20, 2018, 03:31:13 pm »

Hi Steve,

but if Anim8or has the 'Subdivision Editor Menu' is possible do this function for works with 'Multiples Selecteds Objects'?
Like my first image sample?

I think is very usefull, because Anim8or already works for:
-Converter Multiples Meshes to Subdivisions and Multilpes Subdivisions to Meshes...

Thanks!
« Last Edit: April 21, 2018, 11:53:58 am by neirao »
Logged