Skip to content

added an epsilon to the inside diameter of the rings to prevent bolts through holes resulting in 'WARNING: CSG normalisation resulted in empty tree'; switched to using cubes for hexagons; added 626 bearing size; #16

Open
McNeight wants to merge 5 commits into
openscad:masterfrom
benhowes:master

Conversation

@McNeight

Copy link
Copy Markdown

No description provided.

@hyperair hyperair left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally okay except for the comments I left

Comment thread stepper.scad
module motor(model=Nema23, size=NemaMedium, dualAxis=false, pos=[0,0,0], orientation = [0,0,0]) {

length = lookup(size, model);
motorDef = NemaDefinitions[model];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this changes the format of the model parameter from the motor definition structure to an array index. This isn't acceptable because it'll break many designs floating around the internet that use this module.

Comment thread stepper.scad

length = lookup(size, model);
motorDef = NemaDefinitions[model];
echo(NemaDefinitions[14]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This echo shouldn't be here, I think.

Comment thread nuts_and_bolts.scad
//takes a metric screw/nut size and looksup nut dimensions
radius = METRIC_NUT_AC_WIDTHS[size]/2+tolerance;
height = METRIC_NUT_THICKNESS[size]+tolerance;
radius = METRIC_NUT_AC_WIDTHS[size]+2*tolerance;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
radius = METRIC_NUT_AC_WIDTHS[size]+2*tolerance;
width = METRIC_NUT_AC_WIDTHS[size]+2*tolerance;

This isn't really a radius any more.

Comment thread nuts_and_bolts.scad
if (proj == -1)
{
cylinder(r= radius, h=height, $fn = 6, center=[0,0]);
translate([0,0,(height/2)-tolerance]) hexagon(height=radius, depth=height);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
translate([0,0,(height/2)-tolerance]) hexagon(height=radius, depth=height);
translate([0,0,(height/2)-tolerance]) hexagon(height=width, depth=height);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants