Skip to content

linear_extrude does not accept segments argument #107

Closed

Description

@ali1234

The OpenScad linear_extrude accepts $fn but the SolidPython version does not accept segments.

Example:

linear_extrude(h=10, twist=30, segments=10)(
    square([3, 3, 3], center=True)
)

Activity

  1. nickc92 commented on Mar 14, 2019

    @nickc92
    Collaborator

    Yes, that fails for me too. I'll look into it!

  2. nickc92 commented on Mar 14, 2019

    @nickc92
    Collaborator

    Ok, try:

    linear_extrude(h=10, twist=30, slices=10)(
        square([3, 3, 3], center=True)
    )
    

    I think in OpenSCAD you can use either $fn or slices, but here you must use slices.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions