Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SolidCode/SolidPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: HowManyOliversAreThere/SolidPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 21, 2018

  1. Adding support for more pythonic object modification

    This change allows for method calls on objects to create new,
    modified objects.
    
    Old syntax: `x = rotate([45,45,45])(cube(10))`
    New syntax: `x = cube(10).rotate([45,45,45])`
    
    Example usage:
    
    ```
    from solid import *
    x = cube(10)
    x = x.rotate([45,45,45])
    x = x.right(10)
    y = x.mirror([1,0,0])
    z = x + y
    print(scad_render(z))
    ```
    Oliver Robson
    Oliver Robson committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    4355ae0 View commit details
    Browse the repository at this point in the history
  2. Accidental commit of wrong file

    modified objects.
    Oliver Robson
    Oliver Robson committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    d5c6f72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac54c25 View commit details
    Browse the repository at this point in the history
  4. Reverting previous wrongly committed file

    Oliver Robson
    Oliver Robson committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    a43db56 View commit details
    Browse the repository at this point in the history
  5. Adding support for more pythonic object modification

    This change allows for method calls on objects to create new,
    modified objects.
    
    Old syntax: x = rotate([45,45,45])(cube(10))
    New syntax: x = cube(10).rotate([45,45,45])
    
    Example usage:
    
    from solid import *
    x = cube(10)
    x = x.rotate([45,45,45])
    x = x.right(10)
    y = x.mirror([1,0,0])
    z = x + y
    print(scad_render(z))
    Oliver Robson
    Oliver Robson committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    bd0caab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cff3213 View commit details
    Browse the repository at this point in the history
Loading