ScriptSpot home

Extended Cylinder+Cog

Downloads

Release history (1)
  • Version 1.5

    Release notes

    V1.5

Other files (2)
3ds Max compatibility
See original listing claims
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
3.0-1.5
From original requirements
2013
Original version requirement
2013
Author’s update date
Legacy votes
4
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

brttd

More by this author

 

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

Setup & notes

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.

Videos
Comments (20)
MECHANICAL SCRIPT

it doesn't works with 2012 max

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.

GODLIKE

Max 2013?

Thank you very much for your work, dude :)

Reply to GODLIKE
brttd

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.

mandor

E-Cylinder.ms

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

see picture

best mandor

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

Reply to mandor
brttd

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.

Reply to brttd
mandor

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

Reply to mandor
brttd

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

mandor

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 <<

Reply to mandor
brttd

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

brttd

Cog Updated

V1.5
Changed chamfer, now works a lot better
Added cutting, note that custom objects will be taken as if they were at the same position as the cog.
Changed angled, now works with gap and chamfer(only if gap is 0).
Changed where the original and boxes/cylinders meshes are taken from, thanks to Anubis.
Removed smoothing options, they will(hopefully) be added in later a version.

brttd

E-Cylinder V3.0

Updated E-Cylinder.
Preset's are now located in the "About - presets" rollout, aswell as a Use and Reset button. To view next/previous preset, press the up/down arrow next to the checkbutton(which hides/shows presets)

Smoothing is no longer a option, if you want the original cylinder to be smoothed edit line 211.

Advanced Parameters has been split into 2, Extrusions and Loop parameters.

brttd

Updated, split into 2 Scripts
(E-Cylinder has not been changed)
V-1(Cog)
Changed Gear Scale.
Added Gear Angle
Added Gear Inset
Added Gear Chamfer
Added Smooth edges
Added Smooth top/bottom

Edit:
Images and video added.

brttd

New version soon

Im working on a new version, which should(hopefully) be done soon.

brttd

Not succeding

Im not really succeding with either(smoothing, fillet) so Im going to go back to working on the scene the script was initially written for, and then come back and see if I can do any better.

Reply to brttd
Branko Živković

Good decision. Filleting and smoothing are not easy task

Branko Živković

+1

Very cool s-plugin,man.

Reply to brttd
Branko Živković

Now is even better, nice

Now is even better, good job.
Some fillet operation on extruded parts it would be nice to.
Similar as *Fillet Radius 1* operation of Star shape.

"Now is even better, good job.
Some fillet operation on extruded parts it would be nice to.
Similar as *Fillet Radius 1* operation of Star shape."

Thanks, I have been trying (without much success) to set the top/bottom faces(including faces on top of the gears) as smoothing groups, I'll see about fillet.