# \#meshlines

**URL:** https://discourse.threejs.org/tag/meshlines/522.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Calculate corner coordinates of the selected object](https://discourse.threejs.org/t/calculate-corner-coordinates-of-the-selected-object/68306)

<div class="topic-metadata">

**Author:** [@Parisa\_Shahbazi](https://discourse.threejs.org/u/Parisa_Shahbazi)\
**Replies:** 1\
**Last updated:** [July 18, 2024, 8:35pm UTC](https://discourse.threejs.org/t/calculate-corner-coordinates-of-the-selected-object/68306 "2024-07-18T20:35:31Z")

</div>

Hi I need to calculate the corner coordinates of the selected object. How Can I do that? I need it to check my object’s position that is in the selected plane. How Can I find red star points (corners) coordinates .…

---

## [Three.meshline: WARNING: Multiple instances of Three.js being imported](https://discourse.threejs.org/t/three-meshline-warning-multiple-instances-of-three-js-being-imported/44710)

<div class="topic-metadata">

**Author:** [@Belal\_HMEDAN](https://discourse.threejs.org/u/Belal_HMEDAN)\
**Replies:** 2\
**Last updated:** [October 31, 2023, 5:08pm UTC](https://discourse.threejs.org/t/three-meshline-warning-multiple-instances-of-three-js-being-imported/44710 "2023-10-31T17:08:49Z")

</div>

Hi, I’m importing three.js and three.meshline as follows: import { Vector3 } from "three"; import { MeshLine, MeshLineMaterial } from 'three.meshline'; but I’m getting this warning: WARNING: Multiple instances of Thre…

---

## [How to modify this shader to render like gl.line\_strip](https://discourse.threejs.org/t/how-to-modify-this-shader-to-render-like-gl-line-strip/52476)

<div class="topic-metadata">

**Author:** [@1\_1](https://discourse.threejs.org/u/1_1)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 1:07pm UTC](https://discourse.threejs.org/t/how-to-modify-this-shader-to-render-like-gl-line-strip/52476 "2023-06-06T13:07:49Z")

</div>

original code import {ShaderChunk} from 'three' ShaderChunk\['meshline\_vert'\] = /\*glsl\*/ \` ${ShaderChunk.logdepthbuf\_pars\_vertex} ${ShaderChunk.fog\_pars\_vertex} attribute vec3 previous; attribute vec3 next; attri…

---

## [Issue with MeshLine](https://discourse.threejs.org/t/issue-with-meshline/26599)

<div class="topic-metadata">

**Author:** [@Nimil\_George](https://discourse.threejs.org/u/Nimil_George)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 11:45am UTC](https://discourse.threejs.org/t/issue-with-meshline/26599 "2021-05-28T11:45:42Z")

</div>

Hi, I am having issues with the visibility of Lines. Due to the issue with line width property in some platforms am using MeshLine and MeshLineMaterial for drawing lines. When I zoom out or drag and move using camera co…

---

## [\[solved\] "Tilt Brush" functionality using meshilnes very unperformant in webxr](https://discourse.threejs.org/t/solved-tilt-brush-functionality-using-meshilnes-very-unperformant-in-webxr/16827)

<div class="topic-metadata">

**Author:** [@mhazani](https://discourse.threejs.org/u/mhazani)\
**Replies:** 2\
**Last updated:** [July 6, 2020, 4:49pm UTC](https://discourse.threejs.org/t/solved-tilt-brush-functionality-using-meshilnes-very-unperformant-in-webxr/16827 "2020-07-06T16:49:30Z")

</div>

EDIT: Solved, found a similar issue here and adopted OP’s strategy (set the rest of the array to the most recent controller position every frame. Still not sure how setDrawRange even worked, per that comment. Leaving thi…

---

## [Using Fat lines for edges](https://discourse.threejs.org/t/using-fat-lines-for-edges/7466)

<div class="topic-metadata">

**Author:** [@user123](https://discourse.threejs.org/u/user123)\
**Replies:** 9\
**Last updated:** [November 15, 2019, 4:59pm UTC](https://discourse.threejs.org/t/using-fat-lines-for-edges/7466 "2019-11-15T16:59:35Z")

</div>

Is it possible to use the fat lines in conjunctions with the edgesgeometry? my previous (working) code is like this… let edges = new THREE.EdgesGeometry(mesh.geometry, angleThreshold); let material = new THREE.LineBasi…

---

## [MeshLine not showing on the webgl space](https://discourse.threejs.org/t/meshline-not-showing-on-the-webgl-space/9493)

<div class="topic-metadata">

**Author:** [@rahul.pillai93](https://discourse.threejs.org/u/rahul.pillai93)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 9:09am UTC](https://discourse.threejs.org/t/meshline-not-showing-on-the-webgl-space/9493 "2019-09-07T09:09:15Z")

</div>

Hi. I am trying to use the meshline external package to create a rectangular shape. I have “required” the external MeshLine file from the link (https://github.com/spite/THREE.MeshLine/blob/565dc97b36c742120936555c3b0eeb9…

---

## [MeshLine Won't render](https://discourse.threejs.org/t/meshline-wont-render/4232)

<div class="topic-metadata">

**Author:** [@aitheorem](https://discourse.threejs.org/u/aitheorem)\
**Replies:** 6\
**Last updated:** [October 2, 2018, 1:31pm UTC](https://discourse.threejs.org/t/meshline-wont-render/4232 "2018-10-02T13:31:29Z")

</div>

I’m trying to use MeshLines but I get the following error and the lines do not draw: I have included a snippet of code. Can you tell me what I’m doing wrong? function draw(bGeometry) { …
