Drawing Torus with semi-dashed line on itDrawing checkered torus (doughnut)Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Torus with semi-dashed line in TikZTikZ zero-width line with dashed linetorus to coffee mug homotopydrawing an orthonormal frame with semi circlesTikZ: Drawing an arc from an intersection to an intersectionLine up nested tikz enviroments or how to get rid of themDrawing a graph with dashed line

Professor forcing me to attend a conference, I can't afford even with 50% funding

Insult for someone who "doesn't know anything"

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?

How can I portion out frozen cookie dough?

Why is my explanation wrong?

After Brexit, will the EU recognize British passports that are valid for more than ten years?

The (Easy) Road to Code

What is the best index strategy or query SELECT when performing a search/lookup BETWEEN IP address (IPv4 and IPv6) ranges?

How to install "rounded" brake pads

Why restrict private health insurance?

std::string vs const std::string& vs std::string_view

Can I negotiate a patent idea for a raise, under French law?

Having the player face themselves after the mid-game

Unfamiliar notation in Diabelli's "Duet in D" for piano

Why is there an extra space when I type "ls" on the Desktop?

How to recover against Snake as a heavyweight character?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

School performs periodic password audits. Is my password compromised?

How do you make a gun that shoots melee weapons and/or swords?

ESPP--any reason not to go all in?

How to add theme from github with composer

Averaging over columns while ignoring zero entries

Can I frame a new window without adding jack studs?



Drawing Torus with semi-dashed line on it


Drawing checkered torus (doughnut)Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Torus with semi-dashed line in TikZTikZ zero-width line with dashed linetorus to coffee mug homotopydrawing an orthonormal frame with semi circlesTikZ: Drawing an arc from an intersection to an intersectionLine up nested tikz enviroments or how to get rid of themDrawing a graph with dashed line













1















I would like to draw : enter image description here



To draw the above torus, I have used the following codes :



documentclass[margin=2mm,tikz]standalone
usepackagepgfplots
begindocument
%Oberflächenproblem
begintikzpicture[rotate=180]
%Torus
draw (0,0) ellipse (1.6 and .9);
%Hole
beginscope[scale=.8]
path[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0) (-.9,0)--(0,-.56)--(.9,0);
draw[rounded corners=28pt] (-1.1,.1)--(0,-.6)--(1.1,.1);
draw[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0);
endscope
%Cut 1
draw[densely dashed] (0,-.9) arc (270:90:.2 and .365);
draw (0,-.9) arc (-90:90:.2 and .365);
%Cut 2
draw (0,.9) arc (90:270:.2 and .348);
draw[densely dashed] (0,.9) arc (90:-90:.2 and .348);
endtikzpicture
enddocument


It produces:



enter image description here



This is not the same what I want. How can I do the desired torus?










share|improve this question






















  • You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

    – marmot
    1 hour ago















1















I would like to draw : enter image description here



To draw the above torus, I have used the following codes :



documentclass[margin=2mm,tikz]standalone
usepackagepgfplots
begindocument
%Oberflächenproblem
begintikzpicture[rotate=180]
%Torus
draw (0,0) ellipse (1.6 and .9);
%Hole
beginscope[scale=.8]
path[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0) (-.9,0)--(0,-.56)--(.9,0);
draw[rounded corners=28pt] (-1.1,.1)--(0,-.6)--(1.1,.1);
draw[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0);
endscope
%Cut 1
draw[densely dashed] (0,-.9) arc (270:90:.2 and .365);
draw (0,-.9) arc (-90:90:.2 and .365);
%Cut 2
draw (0,.9) arc (90:270:.2 and .348);
draw[densely dashed] (0,.9) arc (90:-90:.2 and .348);
endtikzpicture
enddocument


It produces:



enter image description here



This is not the same what I want. How can I do the desired torus?










share|improve this question






















  • You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

    – marmot
    1 hour ago













1












1








1








I would like to draw : enter image description here



To draw the above torus, I have used the following codes :



documentclass[margin=2mm,tikz]standalone
usepackagepgfplots
begindocument
%Oberflächenproblem
begintikzpicture[rotate=180]
%Torus
draw (0,0) ellipse (1.6 and .9);
%Hole
beginscope[scale=.8]
path[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0) (-.9,0)--(0,-.56)--(.9,0);
draw[rounded corners=28pt] (-1.1,.1)--(0,-.6)--(1.1,.1);
draw[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0);
endscope
%Cut 1
draw[densely dashed] (0,-.9) arc (270:90:.2 and .365);
draw (0,-.9) arc (-90:90:.2 and .365);
%Cut 2
draw (0,.9) arc (90:270:.2 and .348);
draw[densely dashed] (0,.9) arc (90:-90:.2 and .348);
endtikzpicture
enddocument


It produces:



enter image description here



This is not the same what I want. How can I do the desired torus?










share|improve this question














I would like to draw : enter image description here



To draw the above torus, I have used the following codes :



documentclass[margin=2mm,tikz]standalone
usepackagepgfplots
begindocument
%Oberflächenproblem
begintikzpicture[rotate=180]
%Torus
draw (0,0) ellipse (1.6 and .9);
%Hole
beginscope[scale=.8]
path[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0) (-.9,0)--(0,-.56)--(.9,0);
draw[rounded corners=28pt] (-1.1,.1)--(0,-.6)--(1.1,.1);
draw[rounded corners=24pt] (-.9,0)--(0,.6)--(.9,0);
endscope
%Cut 1
draw[densely dashed] (0,-.9) arc (270:90:.2 and .365);
draw (0,-.9) arc (-90:90:.2 and .365);
%Cut 2
draw (0,.9) arc (90:270:.2 and .348);
draw[densely dashed] (0,.9) arc (90:-90:.2 and .348);
endtikzpicture
enddocument


It produces:



enter image description here



This is not the same what I want. How can I do the desired torus?







tikz-pgf tikz-3dplot






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









MKSMKS

544




544












  • You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

    – marmot
    1 hour ago

















  • You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

    – marmot
    1 hour ago
















You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

– marmot
1 hour ago





You can do that with TikZ, pgfplots or pstricks, but IMHO none of these packages are made for this. Is there anything that prevents you from using asymptote?

– marmot
1 hour ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478488%2fdrawing-torus-with-semi-dashed-line-on-it%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478488%2fdrawing-torus-with-semi-dashed-line-on-it%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

Should we avoid writing fiction about historical events without extensive research?How do we write a story about genocide committed by a fascist government without falling into the “Nazi Germany” cliché?Researching sensitive subjectsShould I avoid “lecturing” my readers?Archetypical/popular historical fictionHow to write a “strong” passage?Will what worked 'back then' work today? (Novels)Historical Fiction: using you and thouHow do you make characters relatable if they exist in a completely different moral context?How do I write a MODERN combat/violence scene without being dry?Fictionizing firsthand accounts from history?Is it possible to narrate a novel in a faux-historical style without alienating the reader?