-
Notifications
You must be signed in to change notification settings - Fork 71
Adding new components v2
Radhakrishna Sanka edited this page Jan 14, 2019
·
2 revisions
unique: {
"position": "Point",
},
heritable: {
"rotation": "Float",
"length": "Float",
"width": "Float",
"height": "Float",
"spacing": "Float",
"flowChannelWidth":"Float"
},
units: {
"rotation": "°",
"length": "μm",
"width": "μm",
"height": "μm",
"spacing": "μm",
"flowChannelWidth":"μm"
},
defaults: {
"rotation": 0,
"width": 600,
"length": 300,
"height": .1 * 1000,
"spacing": 1000,
"flowChannelWidth":300
},
minimum: {
"rotation": 0,
"width": 30,
"length": 120,
"height": 10,
"spacing": 10,
"flowChannelWidth":1
},
maximum: {
"rotation": 180,
"width": 6000,
"length": 24 * 1000,
"height": 1200,
"spacing": 10000,
"flowChannelWidth":10000
}
These are the params that the tool should capture via user input (current GUI based)
For Components
toolParams: {
position: "position",
}
For Connections
toolParams: {
start: "start",
end: "end"
}
Each tool has its own unique way of capturing the user interactions, this can be leveraged when making new interactive tools in 3DuF.
This will be removed in the v3 of the component adding scheme, we are retaining these for now so that we can keep the code stable.
featureParams: {
start: "start",
end: "end",
width: "channelWidth"
},
targetParams: {
diameter: "channelWidth",
channelWidth: "channelWidth"
},