Hello everyone, I know this question has been answered previously but none of them provide a clear answer to the people other than the author.
I want to create a wall using points, the wall can change its dimension by changing values. I don’t know how I can achieve it but if I get even a little guidance I can do it myself.
I have an example project which I don’t have the code for is passing the points for the wall in this format:
"lines": [
{
"p1": {
"x": -101,
"y": 203
},
"p2": {
"x": -101,
"y": -100
},
"thickness": 12,
"wallHeight": 260,
"selected": false
},
{
"p1": {
"x": -101,
"y": -100
},
"p2": {
"x": 100,
"y": -100
},
"thickness": 12,
"wallHeight": 260,
"selected": false
},
{
"p1": {
"x": 100,
"y": -100
},
"p2": {
"x": 100,
"y": 202
},
"thickness": 12,
"wallHeight": 260,
"selected": false
},
{
"p1": {
"x": 100,
"y": 202
},
"p2": {
"x": -102,
"y": 202
},
"thickness": 12,
"wallHeight": 260,
"selected": false
}
],
which is later on forming a wall.
Thanks for your time and understanding the issue I am facing.