-
Notifications
You must be signed in to change notification settings - Fork 37
Draw objects using GH_CPython
Mahmoud AbdelRahman edited this page Aug 21, 2017
·
1 revision
# -*- coding: utf-8 -*-
"""
Python Script
Created on Monday August 21 2017 02:30:57
@author: Mahmoud AbdelRahman
[name]Sample Plugin[/name]
[desc]
This is a sample plugin that draws
a single line in Grasshopper viewport
[/desc]
[message]SAMPLE PLUGIN
VER 0.0.1[/message]
ARGUMENTS:
----------
<inp> pointA : First point </inp>
<inp> pointB : Second point</inp>
RETURN:
----------
<out> Line_: The output line </out>
"""
import Grasshopper as gh
Line_ = gh.addLine(pointA, pointB)