How to convert rectangle object using Scissors tool?





Hello All,

I wanted to trim/divide the object by using the top right and bottom left corners as shown in the below screenshot. I have done this by manually using **Scissors tool.**

How to do a script for this conversion?

![20201217_012228.jpg](https://community.adobe.com/t5/image/serverpage/image-id/185283i90026CB778F8F3D6/image-dimensions/448x262?v=v2 "20201217_012228.jpg")

 

Thanks.
[@anna duraim38716857](https://community.adobe.com/t5/user/viewprofilepage/user-id/10648885) 
Unfortunatly you script cannot work.
 
Here is a working variant with remove the pathPoint[3] of the created rectangle
// Set color values for the CMYK object
var cmykCol = new CMYKColor();
cmykCol.black = 100.0;
cmykCol.cyan = 0.0;
cmykCol.magenta = 0.0;
cmykCol.yellow = 0;

var myDocument = app.activeDocument;
var artLayer = myDocument.layers.add()

var rect1 = artLayer.pathItems.rectangle( -449.855743408203,815.611206054688, 14.173, 8.504 );
rect1.fillColor = cmykCol;
re...
After 5 hours of learning I have compiled these:


Mindset



1. **Make sure the placed image ratio is good** to make it more realistic. This can be attained by checking with the other object in the output picture, like trees, or other peoples' height. You are not going to place human with the size much smaller than the other human at the same picture. Similarly, you also must not place a person with the height higher than a tree.
2. **Get the right perspective**. Sometimes, when an object is placed in an odd perspective, image is going to look very bold that it has been photoshopped or copy pasted.
3. **Lighting**. It is important to pay attention to light source, like the sun, and make sure our object is appropriate with output background light source. This can be done by adjusting the lighting of object and adding shadow with referencing other shadow in output image.


Tools (to make edges more realistic)



1. **Layer masking.** If moving people, hair can look awful if just plainly moved. Masking allows us to further tweak our selection.
2. **Refine edge.** *This tool allows you to control many aspect of the edge of your selection* (desired object to move), like Edge Detection (brushing the edges of object and let photoshop do its job, usually around dog fur), Feather (Soften the area of selection), Smooth (reduce pointiness of your selection), Contrast (somewhat opposite of smooth), and Shift Edge (moving feather far or nearer the selection, usually to remove excess background color near the edges). *REFERENCE: <https://www.youtube.com/watch?v=5lDr2Nd8Yl4>*
3. **Layer Matting**. Inside we have many sub-tools to work on, like Color Decontamination (spread out soft mask around the edge, usually for hair to catch other hair that accidentally masked or can be used similarly to Shift Edge), Remove Matte (soften edge of sharp graphic or pixalated, raster look). *REFERENCE: <https://www.youtube.com/watch?v=N6K_htNQPPA>*
4. **Image Calculation**. By playing with the blending, we can make the background darker; thus, helping us making mask. *REFERENCE: <https://www.youtube.com/watch?v=0zf-H9RoCNk>* [@sunlightworking](/u/sunlightworking) this is only a start but you could have fun using subd to model it, break the shape into 2 repeating ‘arms’ that then join together.

[[viewcapture20210611\_093810]](https://aws1.discourse-cdn.com/mcneel/uploads/default/original/4x/b/9/e/b9ec0eea392ef36150b75631db22d3817573de5b.jpeg "viewcapture20210611_093810") thanks everyone for your suggestions. i went with a modified version of [@weekend](/u/weekend)’s:

[[screenshot from 2020-02-22 06-44-57]](https://media.blenderartists.org/uploads/default/original/4x/a/d/6/ad62e605b45c9294a1a33960e705f2a07772113c.jpeg "screenshot from 2020-02-22 06-44-57")

since the idea was to have the ability to have the arrows appear independently, instead of simple subtraction, i fed the result through nodes equalling 1-4x^2, which is an inv… if you’re talking about easel…

select the text that you want to change

go to the cut shape tab

click on the shape tab and look at the bottom of the tab and you will see the font name that you have selected

you can pick the font you want.

hope that’s what you were talking about

good luck

russe… using extrudeshape it is straightforward to obtain a bevel along the edges parallel to the extrusion direction.

<https://www.babylonjs-playground.com/#vkixd8>

as far as i know there is no function to produce bevels along all the edge but you can extrude and lathe a set of shapes to form such a mesh,… given: (i) xy = 4.5cm

(ii) yz = 5 cm

(iii) zx = 6 cm

to construct: a xyz

steps for construction

step 1 : first we will draw a line segment xy of length 4.5cm



step 2 : we have to draw an arc , taking x as center and radius 6cm



step 3 : we have to another arc, with radius 5cm and center at y and mark the intersection of arcs as z.



step 4 : we have to join xz and xy



this is the required triangle if i get this right you are trying to sweep1 circle and have the sweeps come to a point.

if that be the case, you either need to have the sweep paths cross and go far enough past each other to come to a point (at right) or you can place the cross section on the inside of the sweep path rather than … you could use kangaroo, but i don’t think it’s needed here.

instead i’d use inverse distance weighting to make a height field like this.

[sharp\_curves.gh](/uploads/short-url/a5wdkm9xiiwabwl6s0jpgf6ry7j.gh) (11.4 kb)

[[image]](https://aws1.discourse-cdn.com/mcneel/uploads/default/original/3x/d/c/dc85a5f42096a341409c4b4727a7d5066bd68745.png "image.png")

the key step here is making a mesh with vertices on the curves you want to keep sharp. one way of doing this is to split a s… Try this [LINK.](https://apps.autodesk.com/ACD/en/Detail/HelpDoc?appId=4545979311403124726&appLang=en&os=Win32_64)



Autocad has a plug in that looks like it will do the conversion for you. the straight distance between two place on a map can be measured by a strip of paper and divider.use a ruler to measure the distance between the two places. if the line is quite curved, use a string to determine the distance, and then measure the string. find the scale for the map you're going to use. it might be a ruler bar scale or a written scale, in words or numbers.