VS:ClipSurfaceN: Difference between revisions
Jump to navigation
Jump to search
(add note and screenshot of tricky condition) |
m (fix size) |
||
Line 41: | Line 41: | ||
Example: | Example: | ||
[[File:vsClipSurfaceN.png | |||
[[File:vsClipSurfaceN.png]] | |||
</remark> | </remark> |
Revision as of 05:20, 5 March 2021
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Creates a new surface object by subtracting the intersection of surfaces s1 and s2 from s1.
FUNCTION ClipSurfaceN(
s1 :HANDLE;
s2 :HANDLE) : HANDLE;
def vs.ClipSurfaceN(s1, s2): return HANDLE
Parameters
s1 HANDLE Surface to be subtracted from s2 HANDLE Surface to subtract from s1
Remarks
_c_: (2021.03.05):
This clips only parts that intersect the sides of the clipper, it doesn't clip inside the clipper, probably because it would mean deleting geometry.
Example:
Version
Availability: from Vectorworks 2016