<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Two questions about projections]]></title><description><![CDATA[<ol>
<li>
<p dir="auto">I have several shapes which are best viewed in one particular position.  Normally I just create the shape centered (more-or-less) about the origin, and then move it around until it looks the way I want.  Is there any way of finding the current position and orientation of the shape (with respect to the camera) so that I can write the position into the original script?<br />
(I know that I can have rotations and translations as parameters, and use the results of that, but I'm wondering if there's a simpler way.)</p>
</li>
<li>
<p dir="auto">In the web viewer (jscad.xyz, or its local version demo.html) I can't seem to switch between perspective and orthographic views.  The settings claim that the keys "p" and "o" move to each projection, but I can't get my keys to have any affect at all.   How can I obtain an orthographic projection in the web viewer, and/or can the projection be written into the original JavaScript file?</p>
</li>
</ol>
<p dir="auto">Thank you all!</p>
]]></description><link>https://openjscad.nodebb.com/topic/191/two-questions-about-projections</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 22:43:44 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/191.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Nov 2020 22:21:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Two questions about projections on Thu, 03 Jun 2021 04:35:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://openjscad.nodebb.com/uid/418">@Alasdair-McAndrew</a> Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.</p>
]]></description><link>https://openjscad.nodebb.com/post/804</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/804</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Thu, 03 Jun 2021 04:35:51 GMT</pubDate></item><item><title><![CDATA[Reply to Two questions about projections on Sat, 07 Nov 2020 12:07:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://openjscad.nodebb.com/uid/1">@z3dev</a> Thank you very much.  I would particularly like the option of orthographic viewing or rendering, but both the documentations and websites (for the new V2, and the original) seem quiet on the topic.</p>
]]></description><link>https://openjscad.nodebb.com/post/519</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/519</guid><dc:creator><![CDATA[Alasdair McAndrew]]></dc:creator><pubDate>Sat, 07 Nov 2020 12:07:14 GMT</pubDate></item><item><title><![CDATA[Reply to Two questions about projections on Thu, 05 Nov 2020 04:56:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://openjscad.nodebb.com/uid/418">@Alasdair-McAndrew</a> some very interesting questions. <img src="https://openjscad.nodebb.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f600.png?v=k4h1pp0pk3c" class="not-responsive emoji emoji-android emoji--grinning" title=":grinning:" alt="😀" /></p>
<ol>
<li>
<p dir="auto">at the moment, there's no way to set the camera position. i think interacting with the camera via a design may be possible. if interested then please create a new issue and add your thoughts about what kind of interactions would be useful.</p>
</li>
<li>
<p dir="auto">i just fixed the shortcuts for repositioning the camera. but i haven't looked at the perpective / orthographic camera shortcuts.</p>
</li>
</ol>
]]></description><link>https://openjscad.nodebb.com/post/516</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/516</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Thu, 05 Nov 2020 04:56:56 GMT</pubDate></item></channel></rss>