Extended Cylinder+Cog

4 votes
Version: 
3.0-1.5
Date Updated: 
12/19/2012

 

3ds max scripted plugin's

Cog:

Creates cogs, with easy to use settings:

  • Radius, Height, Sides
  • Gear Height-Scale
  • Gap
  • Inset, Chamfer
  • Angled
  • Smooth edge-top/bottom (!)Removed in latest version, hopefully will be added back soon(!)

E-Cylinder:

Creates standard cylinder whos faces are extruded by user defined settings:

  • Height/Direction/Scale of extrusion
  • Starting value of loop, with: 0+, cylinder sides+, cylinder sides*
  • Ending value of loop, with 0+, cylinder sides+, cylinder sides*
  • Step skipping
  • Up to 4 faces extruded per loop, with each face being the loop number + defined value
  • Presets: All Cog, Angled Cog , Top/Bottom Cog,  Shuriken
Additional Info: 

Usage:

Cog:

When the plugin is loaded, it appears in the "Cheese3000 Primitives" section of 3ds Max's shapes.

To creates, click and drag to set radius, then set the height and click, then set the gear height and click again the end creation.

E-Cylinder:

When the plugin is loaded, it appears in the "Extended Primitives" section of 3ds Max's shapes.

To creates, click and drag to set radius, then set the height and click, then set the extrusion height and click again the end creation.

In "Extrusions" you can edit the settings of the extrude operations, Height, Scale, Direction and the faces to extrude.

In "Loop Parameters" you can edit the loop, its starting point, ending point and how much it skips.

Examples:

WARNINGS (Cog only)
Using top/bottom smoothing with larger then 0 Gap may result in unwanted smoothing groups.
Using Chamfer with larger then 0 Gap will result in unwanted edges being chamfered.
Using Chamfer and Angled will result in unwanted edges being chamfered.
Using Inset and Angled may result in deformation around gears.

Version Requirement: 
2013
Video URL: 
AttachmentSize
E-Cylinder.ms7.91 KB
Cog.ms12.15 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
brttd's picture

Sorry, I haven't looked at,

Sorry, I haven't looked at, or updated the code for several years, so I am not sure what the problem could be, or how to fix it.

kavehmad's picture

it doesn't works with 2012

it doesn't works with 2012 max

brttd's picture

I made this quite a long time

I made this quite a long time ago, so I no longer have max 2013, nor am I sure if it works in that version, sorry.

GODLIKE's picture

Max 2013?

Thank you very much for your work, dude :)

brttd's picture

There is no chamfer, its the

There is no chamfer, its the extrusion scale your seeing.

mandor's picture

Only Cog has a chamfer

thank you for the quick feedback

i saw the chamfer in your demo Video for E-Cylinder

with cog no problems

thank you for your scripts und your work

best

mandor

brttd's picture

Only Cog has a chamfer

Only Cog has a chamfer option(I would recommend using cog instead of E-Cylinder, E-Cylinder is more a of test).
Each time the loop is executed, 0-4 faces are extruded, the loop number + a defined variable.
With the settings you have, I cant see a problem with the result, again, its more of a test, Cog has clearer settings, and produces better results.

mandor's picture

E-Cylinder.ms

thanks for the quick improvement
it runs
but no chamfer
strange behavior with 3: Loop and 4: Loop

    http://i.minus.com/ibaUsBj239mS71.jpg

see picture

best mandor

i use 3D MAX 2011 and 3D MAX 9 no different

brttd's picture

What version of max are you

What version of max are you using?(for me no errors come up).
However, I have updated it, it should work fine now.

mandor's picture

extended-cylinder_V3.ms - Syntax error on line 95

-- Error occurred during fileIn in
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\extended-cylinder_v3.ms; position: 4629; line: 95
>> MAXScript FileIn Exception: -- Syntax error: at keyword parameter, expected name
-- In line: label lbl6 prst1 pos:[ <<
-- Error occurred during fileIn in
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\extended-cylinder_v3.ms; position: 4628; line: 95
>> MAXScript FileIn Exception: -- Syntax error: at string, expected name
-- In line: label lbl6 prst1 "" p <<

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.