Skip to content

Commit 2adc937

Browse files
author
Evan Jones
committed
Removed color section of README; our color() behavior is now identical to OpenSCAD's, like any other SP class
1 parent 2802ca7 commit 2adc937

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ SolidPython
2727
things: <#directions-up-down-left-right-forward-back-for-arranging-things>`__
2828
- `Arcs <#arcs>`__
2929
- `Extrude Along Path <#extrude_along_path>`__
30-
- `Basic color library <#basic-color-library>`__
3130
- `Bill Of Materials <#bill-of-materials>`__
3231

3332
- `solid.screw\_thread <#solidscrew_thread>`__
@@ -387,19 +386,6 @@ See
387386
`solid/examples/path_extrude_example.py <https://github.com/SolidCode/SolidPython/blob/master/solid/examples/path_extrude_example.py>`__
388387
for use.
389388

390-
Color & Transparency Settings
391-
-------------------
392-
393-
You can change an object's color by using the OpenSCAD
394-
``color([rgba_array | rgba hex | SVG color name], alpha)`` function:
395-
396-
.. code:: python
397-
398-
transparent_blue = color([0,0,1, 0.5])(cube(10)) # Specify with RGB[A]
399-
purple_obj = color('MediumPurple')(cube(10)) # Or use predefined SVG colors
400-
401-
OpenSCAD natively accepts the W3C's `SVG Color Names <https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#color>`__
402-
403389
Bill Of Materials
404390
-----------------
405391

0 commit comments

Comments
 (0)